#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
{
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;