X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/413baa20a1d96d2e886bffc0b06ff97f6d8c472b..501db75a3ca3dae22ed07a27ae7fb5b9ef86b40d:/include/wx/mac/carbon/app.h diff --git a/include/wx/mac/carbon/app.h b/include/wx/mac/carbon/app.h index f0bf02512e..babd87cc44 100644 --- a/include/wx/mac/carbon/app.h +++ b/include/wx/mac/carbon/app.h @@ -21,10 +21,8 @@ #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 +109,9 @@ private: WXEVENTHANDLERREF m_macEventHandler ; WXEVENTHANDLERCALLREF m_macCurrentEventHandlerCallRef ; WXEVENTREF m_macCurrentEvent ; +#ifdef __WXMAC_OSX__ CFRunLoopSourceRef m_macEventPosted ; +#endif public: static bool s_macSupportPCMenuShortcuts ;