X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5526e819eca4465ed5520d49bccfebc6a28045e0..8366ae934aab9f835747b0c2e456231e8795fe78:/samples/html/widget/widget.cpp diff --git a/samples/html/widget/widget.cpp b/samples/html/widget/widget.cpp index 74fa22ff81..43f03c55ed 100644 --- a/samples/html/widget/widget.cpp +++ b/samples/html/widget/widget.cpp @@ -36,7 +36,7 @@ TAG HANDER FOR 'MYBIND' TAG */ -#include +#include TAG_HANDLER_BEGIN(MYBIND, "MYBIND") @@ -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"), @@ -203,7 +203,7 @@ wxHtmlWindow *html; // ... and attach this menu bar to the frame SetMenuBar(menuBar); - CreateStatusBar(1); + CreateStatusBar(2); html = new wxHtmlWindow(this); html -> SetRelatedFrame(this, "VFS Demo: '%s'");