X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e7092398891c83b12c84305d8d0206bdbe415fa0..fa699cbaaf217af186cd04dd10d6ec67c8667136:/samples/uiaction/uiaction.cpp diff --git a/samples/uiaction/uiaction.cpp b/samples/uiaction/uiaction.cpp index 3e0a7fd7b5..6fd518e299 100644 --- a/samples/uiaction/uiaction.cpp +++ b/samples/uiaction/uiaction.cpp @@ -213,7 +213,7 @@ void MyFrame::OnSimulateText(wxCommandEvent& WXUNUSED(event)) wxUIActionSimulator sim; m_text->SetFocus(); - sim.Text(s_text); + sim.Text(s_text.c_str()); } void MyFrame::OnButtonPressed(wxCommandEvent& WXUNUSED(event))