X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0a6cce3b98c88136c52bcc482ef35cad2289d413..092f753690cec1f4ee3a7ad2df53afc70caaa2f3:/src/mac/app.cpp diff --git a/src/mac/app.cpp b/src/mac/app.cpp index 8cd0fbe281..6a0e5292e5 100644 --- a/src/mac/app.cpp +++ b/src/mac/app.cpp @@ -796,7 +796,9 @@ wxApp::wxApp() m_topWindow = NULL; wxTheApp = this; - m_wantDebugOutput = TRUE ; +#if WXWIN_COMPATIBILITY_2_2 + m_wantDebugOutput = TRUE; +#endif 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"));