X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e7092398891c83b12c84305d8d0206bdbe415fa0..00b4e7c946860a23696ea5189c7da2eefbeb3e3b:/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))