]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/mac/carbon/app.h
adding OS level Window Menu by default
[wxWidgets.git] / include / wx / mac / carbon / app.h
index f0bf02512e32ac06243c3c57805e23e4dd8c32cb..babd87cc440a83286181d449e0458782a3b03ace 100644 (file)
 #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;
@@ -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 ;