X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fbbdb7cd4c288d6d297bb93b34d360152f9b6225..5d644707ca96dcaa63dc5a24c9eb5c2b7ee0b50d:/include/wx/mac/app.h diff --git a/include/wx/mac/app.h b/include/wx/mac/app.h index bdd9d9c648..5f269ffc05 100644 --- a/include/wx/mac/app.h +++ b/include/wx/mac/app.h @@ -85,6 +85,7 @@ public: static bool Initialize(); static void CleanUp(); + virtual bool OnInit(); void DeletePendingObjects(); bool ProcessIdle(); bool IsExiting() { return !m_keepGoing ; } @@ -149,6 +150,9 @@ public: virtual void MacHandleHighLevelEvent( WXEVENTREF ev ) ; virtual void MacHandleMenuSelect( int menuid , int menuitem ) ; + virtual bool MacSendKeyDownEvent( wxWindow* focus , long keyval , long modifiers , long when , short wherex , short wherey ) ; + virtual bool MacSendKeyUpEvent( wxWindow* focus , long keyval , long modifiers , long when , short wherex , short wherey ) ; + virtual short MacHandleAEODoc(const WXAPPLEEVENTREF event , WXAPPLEEVENTREF reply) ; virtual short MacHandleAEPDoc(const WXAPPLEEVENTREF event , WXAPPLEEVENTREF reply) ; virtual short MacHandleAEOApp(const WXAPPLEEVENTREF event , WXAPPLEEVENTREF reply) ;