]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/uiaction/uiaction.cpp
Make it possible to use svn-find-native-eols script without svn checkout.
[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();
 
     wxUIActionSimulator sim;
     m_text->SetFocus();
-    sim.Text(s_text);
+    sim.Text(s_text.c_str());
 }
 
 void MyFrame::OnButtonPressed(wxCommandEvent& WXUNUSED(event))
 }
 
 void MyFrame::OnButtonPressed(wxCommandEvent& WXUNUSED(event))