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