Unicode compilation fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11661 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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());
|
||||
|
Reference in New Issue
Block a user