diff --git a/samples/dialogs/dialogs.cpp b/samples/dialogs/dialogs.cpp index 7bc832a80d..2ecea4a565 100644 --- a/samples/dialogs/dialogs.cpp +++ b/samples/dialogs/dialogs.cpp @@ -252,7 +252,7 @@ void MyFrame::NumericEntry(wxCommandEvent& WXUNUSED(event) ) } else { - msg.Printf("You've entered %lu", res); + msg.Printf(_T("You've entered %lu"), res); icon = wxICON_INFORMATION; }