X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/540a08d271d6739c9a0df068a17c440726527293..53a26bf7740c4f3f1ca458a5c85ec7569eb813e8:/samples/vscroll/vstest.cpp diff --git a/samples/vscroll/vstest.cpp b/samples/vscroll/vstest.cpp index 515b8183bc..c1e18c8248 100644 --- a/samples/vscroll/vstest.cpp +++ b/samples/vscroll/vstest.cpp @@ -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; } @@ -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);