X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b4da152ea3ec3968fb2f304b6ed73e0279c19506..81b41c03c6bcbffa9293a0e280729ffaaf9ef2c7:/src/msw/dibutils.cpp diff --git a/src/msw/dibutils.cpp b/src/msw/dibutils.cpp index 9f3051b408..0e10e7b029 100644 --- a/src/msw/dibutils.cpp +++ b/src/msw/dibutils.cpp @@ -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)