X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/413baa20a1d96d2e886bffc0b06ff97f6d8c472b..cf0cf17b0058bca4f7144b474a906d73b4fd06ef:/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..f62176e843 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__ +#include #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 ;