fix signature of wxClipboard::UserPrimarySelection; in particular change the default value from true to false since in the real sources the default value has always been the latter

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55816 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Francesco Montorsi
2008-09-22 22:39:21 +00:00
parent 8afb81d20d
commit 6bddaaf947

View File

@@ -35,7 +35,7 @@
// Write some text to the clipboard // Write some text to the clipboard
if (wxTheClipboard->Open()) 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. // so do not delete them in the app.
wxTheClipboard->SetData( new wxTextDataObject("Some text") ); wxTheClipboard->SetData( new wxTextDataObject("Some text") );
wxTheClipboard->Close(); wxTheClipboard->Close();
@@ -49,7 +49,7 @@
wxTextDataObject data; wxTextDataObject data;
wxTheClipboard->GetData( data ); wxTheClipboard->GetData( data );
wxMessageBox( data.GetText() ); wxMessageBox( data.GetText() );
} }
wxTheClipboard->Close(); wxTheClipboard->Close();
} }
@endcode @endcode
@@ -173,6 +173,6 @@ public:
normal clipboard contents with the currently selected text on the other normal clipboard contents with the currently selected text on the other
platforms. platforms.
*/ */
void UsePrimarySelection(bool primary = true); virtual void UsePrimarySelection(bool primary = false);
}; };