X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b4da152ea3ec3968fb2f304b6ed73e0279c19506..f77cf4e68a98b10378ab07c1c591464b89656102:/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)