#include "wx/gdicmn.h"
#include "wx/event.h"
-#include <CoreFoundation/CoreFoundation.h>
+#ifdef __WXMAC_OSX__
+typedef struct __CFRunLoopSource * CFRunLoopSourceRef;
+#endif
class WXDLLEXPORT wxFrame;
class WXDLLEXPORT wxWindowMac;
WXEVENTHANDLERREF m_macEventHandler ;
WXEVENTHANDLERCALLREF m_macCurrentEventHandlerCallRef ;
WXEVENTREF m_macCurrentEvent ;
+#ifdef __WXMAC_OSX__
CFRunLoopSourceRef m_macEventPosted ;
+#endif
public:
static bool s_macSupportPCMenuShortcuts ;