X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1bf77ee556a5418059139305e9edb05bde9b8a1d..a2b9e9520297da0f7d13e4cc2e36acdf2bda105d:/include/wx/mac/app.h diff --git a/include/wx/mac/app.h b/include/wx/mac/app.h index e65ee6ec2f..7b2c3462b1 100644 --- a/include/wx/mac/app.h +++ b/include/wx/mac/app.h @@ -49,7 +49,6 @@ class WXDLLEXPORT wxApp: public wxAppBase virtual int MainLoop(); virtual void ExitMainLoop(); - virtual bool Initialized(); virtual bool Pending() ; virtual bool Dispatch() ; @@ -81,6 +80,7 @@ protected: // where overriden public: + static bool sm_isEmbedded; // Implementation virtual bool Initialize(int& argc, wxChar **argv); virtual void CleanUp(); @@ -143,6 +143,10 @@ public: void MacDoOneEvent() ; WXEVENTREF MacGetCurrentEvent() { return m_macCurrentEvent ; } void MacHandleOneEvent( WXEVENTREF ev ) ; + + // For embedded use. By default does nothing. + virtual void MacHandleUnhandledEvent( WXEVENTREF ev ); + #if !TARGET_CARBON virtual void MacHandleMenuSelect( int menuid , int menuitem ) ; virtual void MacHandleMouseUpEvent( WXEVENTREF ev ) ;