X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2dbc444a1986c63f8e41731fd75f92c43e6af4da..d0e278d98e9ecc0f78943a662fca855811f3bea7:/src/common/appbase.cpp diff --git a/src/common/appbase.cpp b/src/common/appbase.cpp index 1ba660b4f3..706c1c97c8 100644 --- a/src/common/appbase.cpp +++ b/src/common/appbase.cpp @@ -93,10 +93,6 @@ wxAppConsole *wxAppConsole::ms_appInstance = NULL; wxAppInitializerFunction wxAppConsole::ms_appInitFn = NULL; -#ifdef __WXMAC__ -bool wxAppConsole::s_macDefaultEncodingIsPC = true ; -#endif - // ============================================================================ // wxAppConsole implementation // ============================================================================ @@ -281,6 +277,19 @@ int wxAppConsole::FilterEvent(wxEvent& WXUNUSED(event)) return -1; } +#if wxUSE_EXCEPTIONS + +void +wxAppConsole::HandleEvent(wxEvtHandler *handler, + wxEventFunction func, + wxEvent& event) const +{ + // by default, simply call the handler + (handler->*func)(event); +} + +#endif // wxUSE_EXCEPTIONS + // ---------------------------------------------------------------------------- // cmd line parsing // ----------------------------------------------------------------------------