// the application icon (under Windows and OS/2 it is in resources and even
// though we could still include the XPM here it would be unused)
-#if !defined(__WXMSW__) && !defined(__WXPM__)
+#ifndef wxHAS_IMAGES_IN_RESOURCES
#include "../sample.xpm"
#endif
wxUIActionSimulator sim;
m_text->SetFocus();
- sim.Text(s_text);
+ sim.Text(s_text.c_str());
}
void MyFrame::OnButtonPressed(wxCommandEvent& WXUNUSED(event))