X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f536e0f24b3bf8358a5e1cb960267d5a3abe5071..d7eee191c55687785a2be927fd387d10514cdf1b:/include/wx/clipbrd.h?ds=sidebyside diff --git a/include/wx/clipbrd.h b/include/wx/clipbrd.h index 0870a03d29..d04fa7df9a 100644 --- a/include/wx/clipbrd.h +++ b/include/wx/clipbrd.h @@ -88,6 +88,8 @@ public: #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__) @@ -121,7 +123,7 @@ public: } } - bool IsOk() const { return m_clipboard->IsOpened(); } + bool operator!() const { return !m_clipboard->IsOpened(); } ~wxClipboardLocker() {