X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b7e94bd7ebc205ffba5e2729b0d465778d4e48c6..9ceed261f809dacf8f64c2287c5de9e45d22e5cb:/interface/wx/clipbrd.h diff --git a/interface/wx/clipbrd.h b/interface/wx/clipbrd.h index ca3dec1783..2a51212c63 100644 --- a/interface/wx/clipbrd.h +++ b/interface/wx/clipbrd.h @@ -3,7 +3,7 @@ // Purpose: interface of wxClipboard // Author: wxWidgets team // RCS-ID: $Id$ -// Licence: wxWindows license +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// /** @@ -35,7 +35,7 @@ // Write some text to the clipboard if (wxTheClipboard->Open()) { - // This data objects are held by the clipboard, + // This data objects are held by the clipboard, // so do not delete them in the app. wxTheClipboard->SetData( new wxTextDataObject("Some text") ); wxTheClipboard->Close(); @@ -49,7 +49,7 @@ wxTextDataObject data; wxTheClipboard->GetData( data ); wxMessageBox( data.GetText() ); - } + } wxTheClipboard->Close(); } @endcode @@ -173,6 +173,6 @@ public: normal clipboard contents with the currently selected text on the other platforms. */ - void UsePrimarySelection(bool primary = true); + virtual void UsePrimarySelection(bool primary = false); };