]> git.saurik.com Git - wxWidgets.git/commitdiff
fix signature of wxClipboard::UserPrimarySelection; in particular change the default...
authorFrancesco Montorsi <f18m_cpp217828@yahoo.it>
Mon, 22 Sep 2008 22:39:21 +0000 (22:39 +0000)
committerFrancesco Montorsi <f18m_cpp217828@yahoo.it>
Mon, 22 Sep 2008 22:39:21 +0000 (22:39 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55816 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

interface/wx/clipbrd.h

index ca3dec1783bfa09b51b932e5a2d5a44922c709c9..fdcb6292ffe953b5f83d11ccf2fe36f13d8fe0ae 100644 (file)
@@ -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);
 };