]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/main.cpp
send wxEVT_SCROLL_CHANGED when using mouse wheel as well
[wxWidgets.git] / src / msw / main.cpp
index 05b74c9e0ae6e4d4f46a9d89cf3e731eed36c3c8..75eb058746619503a5da48bcb90826f684605216 100644 (file)
@@ -93,7 +93,7 @@ extern int wxEntryReal(int& argc, wxChar **argv);
 #endif // __VISUALC__/!__VISUALC__
 
 // ----------------------------------------------------------------------------
-// wrapper wxEntry catching all Win32 exceptions occuring in a wx program
+// wrapper wxEntry catching all Win32 exceptions occurring in a wx program
 // ----------------------------------------------------------------------------
 
 // wrap real wxEntry in a try-except block to be able to call
@@ -219,7 +219,7 @@ int wxEntry(int& argc, wxChar **argv)
     {
         wxFatalExit();
 
-#if !defined(__VISUALC__) || defined(__WXDEBUG__)
+#if !defined(_MSC_VER) || defined(__WXDEBUG__) || (defined(_MSC_VER) && _MSC_VER <= 1200)
         // this code is unreachable but put it here to suppress warnings in some compilers
         // and disable for others to supress warnings too
         return -1;