X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a0bb22c23120f1e96caa8304f62b7d772ad803d6..14dd645ee16eb022afb19f35d0c8cfdf2d3cdee9:/samples/dragimag/dragimag.cpp 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());