X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c9f856af6714b6a96bb9d4702797ae290ceea617..f5766910b6731eb03e82371416e9778203396ce7:/samples/mdi/mdi.cpp diff --git a/samples/mdi/mdi.cpp b/samples/mdi/mdi.cpp index ea50399a21..dc6105a506 100644 --- a/samples/mdi/mdi.cpp +++ b/samples/mdi/mdi.cpp @@ -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")); }