X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a0bb22c23120f1e96caa8304f62b7d772ad803d6..0e300ddd7d91d46e3d9fcbbefe916b0fda6fcbbc:/samples/dragimag/dragimag.cpp?ds=sidebyside diff --git a/samples/dragimag/dragimag.cpp b/samples/dragimag/dragimag.cpp index a0732462dc..a8e88e1fd7 100644 --- a/samples/dragimag/dragimag.cpp +++ b/samples/dragimag/dragimag.cpp @@ -393,7 +393,7 @@ bool MyApp::OnInit() for (i = 1; i < 4; i++) { wxString filename; - filename.Printf("%s%d.png", (const char*) rootName, i); + filename.Printf(wxT("%s%d.png"), (const wxChar*)rootName, i); if (image.LoadFile(filename, wxBITMAP_TYPE_PNG)) { DragShape* newShape = new DragShape(image.ConvertToBitmap());