X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ebf2a1eccf40660111f35746acd1509b7bb11b70..2c20f44d7034eb5d19b7d4459bfc72bbf95de355:/include/wx/mac/carbon/app.h diff --git a/include/wx/mac/carbon/app.h b/include/wx/mac/carbon/app.h index 323ba1f98b..5a4fc4b923 100644 --- a/include/wx/mac/carbon/app.h +++ b/include/wx/mac/carbon/app.h @@ -17,15 +17,11 @@ #include "wx/gdicmn.h" #include "wx/event.h" -#ifdef __WXMAC_OSX__ -typedef struct __CFRunLoopSource * CFRunLoopSourceRef; -#endif - class WXDLLIMPEXP_FWD_CORE wxFrame; class WXDLLIMPEXP_FWD_CORE wxWindowMac; class WXDLLIMPEXP_FWD_CORE wxApp ; class WXDLLIMPEXP_FWD_CORE wxKeyEvent; -class WXDLLIMPEXP_FWD_CORE wxLog; +class WXDLLIMPEXP_FWD_BASE wxLog; // Force an exit from main loop void WXDLLEXPORT wxExit(); @@ -92,9 +88,7 @@ private: WXEVENTHANDLERREF m_macEventHandler ; WXEVENTHANDLERCALLREF m_macCurrentEventHandlerCallRef ; WXEVENTREF m_macCurrentEvent ; -#ifdef __WXMAC_OSX__ CFRunLoopSourceRef m_macEventPosted ; -#endif public: static long s_macAboutMenuItemId ; @@ -130,6 +124,9 @@ public: // in response of a reopen-application apple event virtual void MacReopenApp() ; + // Hide the application windows the same as the system hide command would do it. + void MacHideApp(); + DECLARE_EVENT_TABLE() };