X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3f480da37ca0840ddbe48b908d511d2e9fc20bf4..c193b707eb53c05fba213449a271bf01c7279575:/include/wx/msw/clipbrd.h diff --git a/include/wx/msw/clipbrd.h b/include/wx/msw/clipbrd.h index 85ba54c3a6..c1afb26016 100644 --- a/include/wx/msw/clipbrd.h +++ b/include/wx/msw/clipbrd.h @@ -45,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); //----------------------------------------------------------------------------- @@ -83,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