X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a56fcaaf46ccce9f6f79b8fad977dfe5a721ea61..af01f1ba0d697c07173f436ab661b4c833258a91:/samples/html/widget/widget.cpp diff --git a/samples/html/widget/widget.cpp b/samples/html/widget/widget.cpp index c0f8105a8c..7c48e1971a 100644 --- a/samples/html/widget/widget.cpp +++ b/samples/html/widget/widget.cpp @@ -10,7 +10,7 @@ #endif // For compilers that support precompilation, includes "wx/wx.h". -#include +#include "wx/wxprec.h" #ifdef __BORLANDC__ #pragma hdrstop @@ -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"),