X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/26f86486b088495eeff542ec7d43caf78601fac1..c50f1fb9226d9260454ccb9c8a67d0be23c2827f:/include/wx/msw/clipbrd.h?ds=sidebyside diff --git a/include/wx/msw/clipbrd.h b/include/wx/msw/clipbrd.h index 33e15b6a42..223801a6a6 100644 --- a/include/wx/msw/clipbrd.h +++ b/include/wx/msw/clipbrd.h @@ -23,6 +23,7 @@ #include "wx/list.h" #include "wx/module.h" +#include "wx/dataobj.h" // for wxDataFormat // These functions superceded by wxClipboard, but retained in order to // implement wxClipboard, and for compatibility. @@ -44,9 +45,9 @@ WXDLLEXPORT void* wxGetClipboardData(wxDataFormat dataFormat, // clipboard formats WXDLLEXPORT bool wxIsClipboardFormatAvailable(wxDataFormat dataFormat); WXDLLEXPORT wxDataFormat wxEnumClipboardFormats(wxDataFormat dataFormat); -WXDLLEXPORT int wxRegisterClipboardFormat(char *formatName); +WXDLLEXPORT int wxRegisterClipboardFormat(wxChar *formatName); WXDLLEXPORT bool wxGetClipboardFormatName(wxDataFormat dataFormat, - char *formatName, + wxChar *formatName, int maxCount); //----------------------------------------------------------------------------- @@ -82,6 +83,10 @@ public: // clears wxTheClipboard and the system's clipboard if possible virtual void Clear(); + + /// X11 has two clipboards which get selected by this call. Empty on MSW. + inline void UsePrimarySelection( bool WXUNUSED(primary) ) { } + }; // The global clipboard object