X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/26f86486b088495eeff542ec7d43caf78601fac1..0661ec3993d101d0fb02bac605c979e609fdd04e:/include/wx/msw/clipbrd.h?ds=sidebyside diff --git a/include/wx/msw/clipbrd.h b/include/wx/msw/clipbrd.h index 33e15b6a42..c1afb26016 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. + void UsePrimarySelection( bool WXUNUSED(primary) = FALSE ) { } + }; // The global clipboard object