void OnIdle(wxIdleEvent&)
{
+#if wxUSE_STATUSBAR
m_frame->SetStatusText(wxString::Format
(
_T("Page size = %d, pos = %d, max = %d"),
GetScrollPos(wxVERTICAL),
GetScrollRange(wxVERTICAL)
));
+#endif // wxUSE_STATUSBAR
m_changed = false;
}
{
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);