X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/cf7d6329530d0a9f181ac24dcc722d276885f05e..11f0bb6988110777c5ed8ef944cbdd8f8684d786:/samples/vscroll/vstest.cpp diff --git a/samples/vscroll/vstest.cpp b/samples/vscroll/vstest.cpp index 04255ef947..d5e9b9a263 100644 --- a/samples/vscroll/vstest.cpp +++ b/samples/vscroll/vstest.cpp @@ -27,6 +27,7 @@ // for all others, include the necessary headers (this file is usually all you // need because it includes almost all "standard" wxWindows headers) #ifndef WX_PRECOMP + #include "wx/wx.h" #include "wx/app.h" #include "wx/frame.h" #endif @@ -73,7 +74,7 @@ public: if ( m_frameStatusBar ) { wxSize sz = GetClientSize(); - SetStatusText(wxString::Format("%dx%d", sz.x, sz.y), 1); + SetStatusText(wxString::Format(_T("%dx%d"), sz.x, sz.y), 1); } #endif // wxUSE_STATUSBAR @@ -101,7 +102,7 @@ public: { m_frame->SetStatusText(wxString::Format ( - "Page size = %d, pos = %d, max = %d", + _T("Page size = %d, pos = %d, max = %d"), GetScrollThumb(wxVERTICAL), GetScrollPos(wxVERTICAL), GetScrollRange(wxVERTICAL)