]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/init.cpp
* GetValue() now returns true if the state is undetermined
[wxWidgets.git] / src / common / init.cpp
index 15cca2da329b4794f78a1fe44969d5681bb7ff3f..a67f723b64e2813dc9a1373506b49844fdd0c005 100644 (file)
@@ -396,6 +396,7 @@ int wxEntryReal(int& argc, wxChar **argv)
 
     wxTRY
     {
+
         // app initialization
         if ( !wxTheApp->CallOnInit() )
         {
@@ -410,6 +411,8 @@ int wxEntryReal(int& argc, wxChar **argv)
             ~CallOnExit() { wxTheApp->OnExit(); }
         } callOnExit;
 
+        WX_SUPPRESS_UNUSED_WARN(callOnExit);
+
         // app execution
         return wxTheApp->OnRun();
     }