]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/vscroll/vstest.cpp
libtiff doesn't build on WinCE
[wxWidgets.git] / samples / vscroll / vstest.cpp
index 04255ef9479b2d703bd794957349ad1f447a5fa5..d5e9b9a26376f31090cff187b9dd4362ad09283c 100644 (file)
@@ -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)