]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/minimal/minimal.cpp
Should compile better if wchar_t is not available.
[wxWidgets.git] / samples / minimal / minimal.cpp
index 978db2a25476b94343ae71715c8621575ade4ce3..9e0758f642adb2a9f7b6bdf83a5b8a6636bfaa73 100644 (file)
@@ -179,10 +179,10 @@ void MyFrame::OnQuit(wxCommandEvent& WXUNUSED(event))
 void MyFrame::OnAbout(wxCommandEvent& WXUNUSED(event))
 {
     wxString msg;
-    msg.Printf("This is the about dialog of minimal sample.\n"
-               "Welcome to %s"
+    msg.Printf( _T("This is the about dialog of minimal sample.\n")
+                _T("Welcome to %s")
 #ifdef wxBETA_NUMBER
-               " (beta %d)!"
+               _T(" (beta %d)!")
 #endif // wxBETA_NUMBER
                , wxVERSION_STRING
 #ifdef wxBETA_NUMBER