summaryrefslogtreecommitdiff
path: root/src/mir_core
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2013-09-21 16:01:04 +0000
committerKirill Volinsky <mataes2007@gmail.com>2013-09-21 16:01:04 +0000
commit7e511a8d69bca326dac249f3932331c29a3b4e41 (patch)
treef6c18402b3ebdab441337bfdcd1aa16fc8df2864 /src/mir_core
parent4e0aef28194077beaaaa07775f819c3a4cf934e9 (diff)
removed IsWinVerXPPlus
git-svn-id: http://svn.miranda-ng.org/main/trunk@6159 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/mir_core')
-rw-r--r--src/mir_core/commonheaders.h2
-rw-r--r--src/mir_core/miranda.cpp10
2 files changed, 5 insertions, 7 deletions
diff --git a/src/mir_core/commonheaders.h b/src/mir_core/commonheaders.h
index 26e32aa1c8..53ec650af1 100644
--- a/src/mir_core/commonheaders.h
+++ b/src/mir_core/commonheaders.h
@@ -32,7 +32,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#include <windows.h>
#include <windowsx.h>
#include <shlobj.h>
-#include <uxtheme.h>
+//#include <uxtheme.h>
#include <commctrl.h>
#include <vssym32.h>
diff --git a/src/mir_core/miranda.cpp b/src/mir_core/miranda.cpp
index 1508e3f4e7..103801995b 100644
--- a/src/mir_core/miranda.cpp
+++ b/src/mir_core/miranda.cpp
@@ -67,12 +67,10 @@ static void LoadCoreModule(void)
icce.dwICC = ICC_WIN95_CLASSES | ICC_USEREX_CLASSES;
InitCommonControlsEx(&icce);
- if ( IsWinVerXPPlus()) {
- hAPCWindow=CreateWindowEx(0, _T("ComboLBox"), NULL, 0, 0, 0, 0, 0, NULL, NULL, NULL, NULL);
- SetClassLongPtr(hAPCWindow, GCL_STYLE, GetClassLongPtr(hAPCWindow, GCL_STYLE) | CS_DROPSHADOW);
- DestroyWindow(hAPCWindow);
- hAPCWindow = NULL;
- }
+ hAPCWindow=CreateWindowEx(0, _T("ComboLBox"), NULL, 0, 0, 0, 0, 0, NULL, NULL, NULL, NULL);
+ SetClassLongPtr(hAPCWindow, GCL_STYLE, GetClassLongPtr(hAPCWindow, GCL_STYLE) | CS_DROPSHADOW);
+ DestroyWindow(hAPCWindow);
+ hAPCWindow = NULL;
hAPCWindow = CreateWindowEx(0, _T("STATIC"), NULL, 0, 0, 0, 0, 0, NULL, NULL, NULL, NULL);
SetWindowLongPtr(hAPCWindow, GWLP_WNDPROC, (LONG_PTR)APCWndProc);