]> git.saurik.com Git - wxWidgets.git/commitdiff
and now it even compiles
authorVadim Zeitlin <vadim@wxwidgets.org>
Thu, 21 Oct 1999 14:00:30 +0000 (14:00 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Thu, 21 Oct 1999 14:00:30 +0000 (14:00 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4107 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/clipbrd.h

index 0870a03d296243cebaff4555deea26fd0d04f3d7..e7ab30b41e6ad1c37294cdf61fb184c1822a8742 100644 (file)
@@ -121,7 +121,7 @@ public:
         }
     }
 
-    bool IsOk() const { return m_clipboard->IsOpened(); }
+    bool operator!() const { return !m_clipboard->IsOpened(); }
 
     ~wxClipboardLocker()
     {