diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2013-09-21 18:41:21 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2013-09-21 18:41:21 +0000 |
commit | 28d2449a2207fa8c3f959c8037afe6e869300101 (patch) | |
tree | 33ff65f8113a99f94fc330d0ebd817db0229dedd /src/core | |
parent | 96928d1553edc33b05a2dd00d5251fd00e258467 (diff) |
small cleanup
git-svn-id: http://svn.miranda-ng.org/main/trunk@6167 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/stdclist/src/cluiopts.cpp | 9 | ||||
-rw-r--r-- | src/core/stduserinfo/contactinfo.cpp | 2 |
2 files changed, 2 insertions, 9 deletions
diff --git a/src/core/stdclist/src/cluiopts.cpp b/src/core/stdclist/src/cluiopts.cpp index 208accbc05..4552b10015 100644 --- a/src/core/stdclist/src/cluiopts.cpp +++ b/src/core/stdclist/src/cluiopts.cpp @@ -79,14 +79,7 @@ static INT_PTR CALLBACK DlgProcCluiOpts(HWND hwndDlg, UINT msg, WPARAM wParam, L }
else SetDlgItemTextA(hwndDlg, IDC_TITLETEXT, MIRANDANAME);
}
- if (!IsWinVer2000Plus()) {
- EnableWindow(GetDlgItem(hwndDlg, IDC_FADEINOUT), FALSE);
- EnableWindow(GetDlgItem(hwndDlg, IDC_TRANSPARENT), FALSE);
- EnableWindow(GetDlgItem(hwndDlg, IDC_DROPSHADOW), FALSE);
- }
- else
- CheckDlgButton(hwndDlg, IDC_TRANSPARENT,
- db_get_b(NULL, "CList", "Transparent", SETTING_TRANSPARENT_DEFAULT) ? BST_CHECKED : BST_UNCHECKED);
+ CheckDlgButton(hwndDlg, IDC_TRANSPARENT, db_get_b(NULL, "CList", "Transparent", SETTING_TRANSPARENT_DEFAULT) ? BST_CHECKED : BST_UNCHECKED);
if (!IsDlgButtonChecked(hwndDlg, IDC_TRANSPARENT)) {
EnableWindow(GetDlgItem(hwndDlg, IDC_STATIC11), FALSE);
diff --git a/src/core/stduserinfo/contactinfo.cpp b/src/core/stduserinfo/contactinfo.cpp index 21fcb7a203..c74b718e84 100644 --- a/src/core/stduserinfo/contactinfo.cpp +++ b/src/core/stduserinfo/contactinfo.cpp @@ -223,7 +223,7 @@ INT_PTR CALLBACK ContactDlgProc(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lP hEmailFont = CreateFontIndirect(&lf);
}
if (hHandCursor == NULL)
- hHandCursor = ( IsWinVer2000Plus()) ? LoadCursor(NULL, IDC_HAND) : LoadCursor(hInst, MAKEINTRESOURCE(IDC_HYPERLINKHAND));
+ hHandCursor = LoadCursor(NULL, IDC_HAND);
{
LVCOLUMN lvc;
RECT rc;
|