X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d5da0ce7cb746318511b3974b7882c72c0de45e2..68f146206ff65cfafdf88c154aece854a0ba4864:/src/msw/main.cpp diff --git a/src/msw/main.cpp b/src/msw/main.cpp index 4e89e478d0..4676a2d241 100644 --- a/src/msw/main.cpp +++ b/src/msw/main.cpp @@ -26,9 +26,9 @@ #ifndef WX_PRECOMP #include "wx/event.h" + #include "wx/app.h" #endif //WX_PRECOMP -#include "wx/app.h" #include "wx/cmdline.h" #include "wx/scopeguard.h" @@ -78,8 +78,8 @@ extern int wxEntryReal(int& argc, wxChar **argv); // this warns that /EHa (async exceptions) should be used when using // _set_se_translator but, in fact, this doesn't seem to change anything - // with VC++ up to 7.1 -- to be confirmed with VC++ 8 - #if _MSC_VER <= 1310 + // with VC++ up to 8.0 + #if _MSC_VER <= 1400 #pragma warning(disable:4535) #endif @@ -247,7 +247,7 @@ static bool wxIsUnicodeAvailable() { static const wchar_t *ERROR_STRING = L"wxWidgets Fatal Error"; - if ( wxGetOsVersion() != wxWINDOWS_NT ) + if ( wxGetOsVersion() != wxOS_WINDOWS_NT ) { // we need to be built with MSLU support #if !wxUSE_UNICODE_MSLU