]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/clipbrd.h
Corrected typo.
[wxWidgets.git] / 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()
     {