]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/mdi/mdi.cpp
non-PCH build fix (according to Tinderbox).
[wxWidgets.git] / samples / mdi / mdi.cpp
index ea50399a218fb7e85e65574681f85eb404df4fc2..dc6105a5060c0c8885f731e1ce9f580b8f3f57b0 100644 (file)
@@ -542,7 +542,7 @@ void MyChild::OnPaste(wxCommandEvent& WXUNUSED(event))
 {
     wxClipboardLocker lock;
     wxTextDataObject data;
-    canvas->SetText(wxTheClipboard->GetData(data) ? data.GetText()
+    canvas->SetText(wxTheClipboard->GetData(data) ? data.GetText().c_str()
                                                   : _T("No text on clipboard"));
 }