]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/dibutils.cpp
added DoSetNativeFontInfo() to avoid virtual function hiding
[wxWidgets.git] / src / msw / dibutils.cpp
index 9f3051b40825d24f412f2646c3f3ef2678ff907c..0e10e7b029a1f617bca499c154623b06bfaf5745 100644 (file)
@@ -183,7 +183,7 @@ PDIB wxDibOpenFile(LPTSTR szFile)
    LPVOID              p;
    OFSTRUCT            of;
 
-#if defined(WIN32) || defined(_WIN32)
+#if defined(__WIN32__)
    #define GetCurrentInstance()    GetModuleHandle(NULL)
 #else
    #define GetCurrentInstance()    (HINSTANCE)SELECTOROF((LPVOID)&of)