X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/540a08d271d6739c9a0df068a17c440726527293..c4e2838090992384911a6a6aa44cac985d79a555:/samples/vscroll/vstest.cpp?ds=sidebyside 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);