]> git.saurik.com Git - wxWidgets.git/blobdiff - docs/latex/wx/clipbrd.tex
Minor tweek for WXPM
[wxWidgets.git] / docs / latex / wx / clipbrd.tex
index caa772f53bde12097d370f83b3b446437e9427d5..f8a22e83529477a314208682f77f7f0344f82e05 100644 (file)
@@ -19,7 +19,7 @@ For example:
   {
     // This data objects are held by the clipboard, 
     // so do not delete them in the app.
-    wxTheClipboard->AddData( new wxTextDataObject("Some text") );
+    wxTheClipboard->SetData( new wxTextDataObject("Some text") );
     wxTheClipboard->Close();
   }