X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/413baa20a1d96d2e886bffc0b06ff97f6d8c472b..60104cbafa4502c7592801ccb8507f779c5601cf:/include/wx/mac/carbon/app.h?ds=sidebyside diff --git a/include/wx/mac/carbon/app.h b/include/wx/mac/carbon/app.h index f0bf02512e..4075fe1e00 100644 --- a/include/wx/mac/carbon/app.h +++ b/include/wx/mac/carbon/app.h @@ -12,19 +12,13 @@ #ifndef _WX_APP_H_ #define _WX_APP_H_ -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) -#pragma interface "app.h" -#endif - #include "wx/defs.h" #include "wx/object.h" #include "wx/gdicmn.h" #include "wx/event.h" -#ifdef __DARWIN__ -#include -#else -#include +#ifdef __WXMAC_OSX__ +typedef struct __CFRunLoopSource * CFRunLoopSourceRef; #endif class WXDLLEXPORT wxFrame; @@ -111,7 +105,9 @@ private: WXEVENTHANDLERREF m_macEventHandler ; WXEVENTHANDLERCALLREF m_macCurrentEventHandlerCallRef ; WXEVENTREF m_macCurrentEvent ; +#ifdef __WXMAC_OSX__ CFRunLoopSourceRef m_macEventPosted ; +#endif public: static bool s_macSupportPCMenuShortcuts ;