Under Cygwin, in platform.h default to wxMSW unless otherwise specified.
Do not #define __WIN95__, __WINDOWS__, __WXMSW__ on the command line for Cygwin/MinGW (when build with makefiles), since platform.h already does that for us. Always check for __WIN32__, not for WIN32 or _WIN32 (just for consistency). git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18793 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -5025,7 +5025,7 @@ void wxSetKeyboardHook(bool doIt)
|
||||
|
||||
// avoids warning about statement with no effect (FreeProcInstance
|
||||
// doesn't do anything under Win32)
|
||||
#if !defined(WIN32) && !defined(_WIN32) && !defined(__WIN32__) && !defined(__NT__) && !defined(__GNUWIN32__)
|
||||
#if !defined(__WIN32__) && !defined(__NT__)
|
||||
FreeProcInstance(wxTheKeyboardHookProc);
|
||||
#endif
|
||||
}
|
||||
|
Reference in New Issue
Block a user