]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/mac/carbon/app.h
wxHelpController now wxCHMHelpController on Windows
[wxWidgets.git] / include / wx / mac / carbon / app.h
index 16d2af307808b4c2db6ac79688c19412b3c6bc52..babd87cc440a83286181d449e0458782a3b03ace 100644 (file)
@@ -21,7 +21,9 @@
 #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;
@@ -107,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 ;