]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/clipbrd.h
SourceForge patch #654210 to fix naming/numbering shared libs under OS X
[wxWidgets.git] / include / wx / clipbrd.h
index 0870a03d296243cebaff4555deea26fd0d04f3d7..f0a58a62acad01a132fc9d73a75f180586c056da 100644 (file)
@@ -12,7 +12,7 @@
 #ifndef _WX_CLIPBRD_H_BASE_
 #define _WX_CLIPBRD_H_BASE_
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(__APPLE__)
     #pragma interface "clipboardbase.h"
 #endif
 
@@ -88,8 +88,10 @@ public:
     #include "wx/motif/clipbrd.h"
 #elif defined(__WXGTK__)
     #include "wx/gtk/clipbrd.h"
-#elif defined(__WXQT__)
-    #include "wx/gtk/clipbrd.h"
+#elif defined(__WXX11__)
+    #include "wx/x11/clipbrd.h"
+#elif defined(__WXMGL__)
+    #include "wx/mgl/clipbrd.h"
 #elif defined(__WXMAC__)
     #include "wx/mac/clipbrd.h"
 #elif defined(__WXPM__)
@@ -121,7 +123,7 @@ public:
         }
     }
 
-    bool IsOk() const { return m_clipboard->IsOpened(); }
+    bool operator!() const { return !m_clipboard->IsOpened(); }
 
     ~wxClipboardLocker()
     {