X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6e350141f124f383654fd1337314fc9f55f95cbf..7344108e8a129a3f9b4df5ab0f98a1713db03b89:/interface/wx/app.h?ds=inline diff --git a/interface/wx/app.h b/interface/wx/app.h index c17ad1c002..3261fd74aa 100644 --- a/interface/wx/app.h +++ b/interface/wx/app.h @@ -37,7 +37,8 @@ @see @ref overview_app, wxApp, wxAppTraits, wxEventLoopBase */ -class wxAppConsole : public wxEvtHandler +class wxAppConsole : public wxEvtHandler, + public wxEventFilter { protected: /** @@ -81,13 +82,14 @@ public: virtual void ExitMainLoop(); /** + Overridden wxEventFilter method. + This function is called before processing any event and allows the application - to preempt the processing of some events. + to preempt the processing of some events, see wxEventFilter + documentation for more information. - If this method returns -1 the event is processed normally, otherwise either - @true or @false should be returned and the event processing stops immediately - considering that the event had been already processed (for the former return - value) or that it is not going to be processed at all (for the latter one). + wxApp implementation of this method always return -1 indicating that + the event should be processed normally. */ virtual int FilterEvent(wxEvent& event); @@ -633,7 +635,7 @@ public: /** Get display mode that is used use. This is only used in framebuffer - wxWidgets ports (such as wxMGL or wxDFB). + wxWidgets ports such as wxDFB. */ virtual wxVideoMode GetDisplayMode() const; @@ -725,7 +727,7 @@ public: /** Set display mode to use. This is only used in framebuffer wxWidgets - ports (such as wxMGL or wxDFB). + ports such as wxDFB. */ virtual bool SetDisplayMode(const wxVideoMode& info); @@ -852,17 +854,6 @@ public: */ virtual void MacReopenApp(); - - static long GetMacAboutMenuItemId(); - static long GetMacPreferencesMenuItemId(); - static long GetMacExitMenuItemId(); - static wxString GetMacHelpMenuTitleName(); - - static void SetMacAboutMenuItemId(long val); - static void SetMacPreferencesMenuItemId(long val); - static void SetMacExitMenuItemId(long val); - static void SetMacHelpMenuTitleName(const wxString& val); - //@} };