]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/app.cpp
fixed the menu bug introduced by the previous commit
[wxWidgets.git] / src / mac / app.cpp
index 8cd0fbe281b0ece16e7df2364842401eb6ba13ed..6a0e5292e574fd88941559121bfa4b9b40fb2491 100644 (file)
@@ -796,7 +796,9 @@ wxApp::wxApp()
   m_topWindow = NULL;
   wxTheApp = this;
 
   m_topWindow = NULL;
   wxTheApp = this;
 
-  m_wantDebugOutput = TRUE ;
+#if WXWIN_COMPATIBILITY_2_2
+  m_wantDebugOutput = TRUE;
+#endif
 
   argc = 0;
   argv = NULL;
 
   argc = 0;
   argv = NULL;
@@ -951,29 +953,6 @@ void wxApp::DeletePendingObjects()
   }
 }
 
   }
 }
 
-wxIcon
-wxApp::GetStdIcon(int which) const
-{
-    switch(which)
-    {
-        case wxICON_INFORMATION:
-            return wxIcon("wxICON_INFO");
-
-        case wxICON_QUESTION:
-            return wxIcon("wxICON_QUESTION");
-
-        case wxICON_EXCLAMATION:
-            return wxIcon("wxICON_WARNING");
-
-        default:
-            wxFAIL_MSG(wxT("requested non existent standard icon"));
-            // still fall through
-
-        case wxICON_HAND:
-            return wxIcon("wxICON_ERROR");
-    }
-}
-
 void wxExit()
 {
     wxLogError(_("Fatal error: exiting"));
 void wxExit()
 {
     wxLogError(_("Fatal error: exiting"));