X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/540a08d271d6739c9a0df068a17c440726527293..7942245db005b61db34729c73e641211343b3237:/samples/vscroll/vstest.cpp diff --git a/samples/vscroll/vstest.cpp b/samples/vscroll/vstest.cpp index 515b8183bc..e838e00063 100644 --- a/samples/vscroll/vstest.cpp +++ b/samples/vscroll/vstest.cpp @@ -41,7 +41,7 @@ // the application icon (under Windows and OS/2 it is in resources) #if !defined(__WXMSW__) && !defined(__WXOS2__) - #include "mondrian.xpm" + #include "../sample.xpm" #endif // ---------------------------------------------------------------------------- @@ -100,6 +100,7 @@ public: void OnIdle(wxIdleEvent&) { +#if wxUSE_STATUSBAR m_frame->SetStatusText(wxString::Format ( _T("Page size = %d, pos = %d, max = %d"), @@ -107,6 +108,7 @@ public: GetScrollPos(wxVERTICAL), GetScrollRange(wxVERTICAL) )); +#endif // wxUSE_STATUSBAR m_changed = false; } @@ -235,7 +237,7 @@ VScrollFrame::VScrollFrame() wxSize(400, 350)) { // set the frame icon - SetIcon(wxICON(mondrian)); + SetIcon(wxICON(sample)); #if wxUSE_MENUS // create a menu bar @@ -280,7 +282,7 @@ void VScrollFrame::OnAbout(wxCommandEvent& WXUNUSED(event)) { wxMessageBox(_T("VScroll shows how to implement scrolling with\n") _T("variable line heights.\n") - _T("© 2003 Vadim Zeitlin"), + _T("(c) 2003 Vadim Zeitlin"), _T("About VScroll"), wxOK | wxICON_INFORMATION, this);