]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/html/widget/widget.cpp
mingw compilation fix
[wxWidgets.git] / samples / html / widget / widget.cpp
index c0f8105a8c67b022edbd33937e2c25988da0b38a..43f03c55eddc15d224a580f131493f95f1091538 100644 (file)
@@ -47,8 +47,8 @@ TAG_HANDLER_BEGIN(MYBIND, "MYBIND")
         int ax, ay;
         int fl = 0;
 
-        tag.ScanParam("X", "%i", &ax);
-        tag.ScanParam("Y", "%i", &ay);
+        tag.ScanParam(wxT("X"), wxT("%i"), &ax);
+        tag.ScanParam(wxT("Y"), wxT("%i"), &ay);
         if (tag.HasParam("FLOAT")) fl = ax;
 
         wnd = new wxTextCtrl( m_WParser -> GetWindow(), -1, tag.GetParam("NAME"),