]> git.saurik.com Git - wxWidgets.git/commitdiff
warning...
authorRyan Norton <wxprojects@comcast.net>
Sun, 14 Dec 2003 04:30:45 +0000 (04:30 +0000)
committerRyan Norton <wxprojects@comcast.net>
Sun, 14 Dec 2003 04:30:45 +0000 (04:30 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24832 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/init.cpp

index 39874736bf4ab3c9098f353cde102b19241ce31f..bb56dd4007ea396a2d37eb61f4a6ec65851e7783 100644 (file)
@@ -394,8 +394,17 @@ int wxEntryReal(int& argc, wxChar **argv)
 
     WX_SUPPRESS_UNUSED_WARN(cleanupOnExit);
 
+#if defined(__VISUALC__)
+       //Disable warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify -GX
+       #pragma warning (disable:4530)
+#endif  
+
     wxTRY
     {
+
+#if defined(__VISUALC__)
+       #pragma warning (default:4530)
+#endif  
         // app initialization
         if ( !wxTheApp->CallOnInit() )
         {