]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/mac/carbon/app.h
Get/SetTitle only for wxTopLevelWindow (wxMSW part).
[wxWidgets.git] / include / wx / mac / carbon / app.h
index 16d2af307808b4c2db6ac79688c19412b3c6bc52..4075fe1e0067f1ed5c70a2990e2045d3026c1f88 100644 (file)
 #ifndef _WX_APP_H_
 #define _WX_APP_H_
 
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
-#pragma interface "app.h"
-#endif
-
 #include "wx/defs.h"
 #include "wx/object.h"
 #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 +105,9 @@ private:
     WXEVENTHANDLERREF     m_macEventHandler ;
     WXEVENTHANDLERCALLREF m_macCurrentEventHandlerCallRef ;
     WXEVENTREF            m_macCurrentEvent ;
+#ifdef __WXMAC_OSX__
     CFRunLoopSourceRef    m_macEventPosted ;
+#endif
 
 public:
     static bool           s_macSupportPCMenuShortcuts ;