]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/clipbrd.h
Committing in .
[wxWidgets.git] / include / wx / clipbrd.h
index 0870a03d296243cebaff4555deea26fd0d04f3d7..d04fa7df9ab3ed415aacf80ea3601727217b69e4 100644 (file)
@@ -88,6 +88,8 @@ public:
     #include "wx/motif/clipbrd.h"
 #elif defined(__WXGTK__)
     #include "wx/gtk/clipbrd.h"
     #include "wx/motif/clipbrd.h"
 #elif defined(__WXGTK__)
     #include "wx/gtk/clipbrd.h"
+#elif defined(__WXMGL__)
+    #include "wx/mgl/clipbrd.h"
 #elif defined(__WXQT__)
     #include "wx/gtk/clipbrd.h"
 #elif defined(__WXMAC__)
 #elif defined(__WXQT__)
     #include "wx/gtk/clipbrd.h"
 #elif defined(__WXMAC__)
@@ -121,7 +123,7 @@ public:
         }
     }
 
         }
     }
 
-    bool IsOk() const { return m_clipboard->IsOpened(); }
+    bool operator!() const { return !m_clipboard->IsOpened(); }
 
     ~wxClipboardLocker()
     {
 
     ~wxClipboardLocker()
     {