X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1be7f92adb9b0140ccbbc7a5b4d2731da0318837..aba4387c4c71fb812c6a07a7abb495606c5ef4af:/include/wx/os2/clipbrd.h diff --git a/include/wx/os2/clipbrd.h b/include/wx/os2/clipbrd.h index 0d9110188d..f637d8de70 100644 --- a/include/wx/os2/clipbrd.h +++ b/include/wx/os2/clipbrd.h @@ -65,6 +65,9 @@ public: // close the clipboard after SetData() and GetData() virtual void Close(); + // query whether the clipboard is opened + virtual bool IsOpened() const; + // set the clipboard data. all other formats will be deleted. virtual bool SetData( wxDataObject *data ); @@ -75,7 +78,7 @@ public: virtual bool IsSupported( wxDataFormat format ); // fill data with data on the clipboard (if available) - virtual bool GetData( wxDataObject *data ); + virtual bool GetData( wxDataObject& data ); // clears wxTheClipboard and the system's clipboard if possible virtual void Clear();