]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/uiaction/uiaction.cpp
Applied colspan corrections, #15274 and #15275 (dghart)
[wxWidgets.git] / samples / uiaction / uiaction.cpp
index 3e0a7fd7b56884ce383e43083b88c2c99bb32360..6fd518e2999ff2506145b1fe00122327d166d8df 100644 (file)
@@ -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))