]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/clipbrd.h
Fix to wxChar* access.
[wxWidgets.git] / include / wx / clipbrd.h
index 4e9f4a7ba9e5a595ad730b60f139dfa77a5d8e9b..ca72949a5c9a85d8746e7d3841fab0de0915c2a1 100644 (file)
@@ -12,7 +12,7 @@
 #ifndef _WX_CLIPBRD_H_BASE_
 #define _WX_CLIPBRD_H_BASE_
 
-#if defined(__GNUG__) && !defined(__APPLE__)
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
     #pragma interface "clipboardbase.h"
 #endif
 
@@ -94,6 +94,8 @@ public:
     #include "wx/mgl/clipbrd.h"
 #elif defined(__WXMAC__)
     #include "wx/mac/clipbrd.h"
+#elif defined(__WXCOCOA__)
+    #include "wx/cocoa/clipbrd.h"
 #elif defined(__WXPM__)
     #include "wx/os2/clipbrd.h"
 #endif