projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
CodeWarrior dislikes #include <> syntax for in-tree headers, prefer ""
[wxWidgets.git]
/
samples
/
vscroll
/
vstest.cpp
diff --git
a/samples/vscroll/vstest.cpp
b/samples/vscroll/vstest.cpp
index 515b8183bc458b2864a79e9bf225bd28291d8aa4..c1e18c824844e064f1e717b679ffe97c0143cc7a 100644
(file)
--- a/
samples/vscroll/vstest.cpp
+++ b/
samples/vscroll/vstest.cpp
@@
-100,6
+100,7
@@
public:
void OnIdle(wxIdleEvent&)
{
void OnIdle(wxIdleEvent&)
{
+#if wxUSE_STATUSBAR
m_frame->SetStatusText(wxString::Format
(
_T("Page size = %d, pos = %d, max = %d"),
m_frame->SetStatusText(wxString::Format
(
_T("Page size = %d, pos = %d, max = %d"),
@@
-107,6
+108,7
@@
public:
GetScrollPos(wxVERTICAL),
GetScrollRange(wxVERTICAL)
));
GetScrollPos(wxVERTICAL),
GetScrollRange(wxVERTICAL)
));
+#endif // wxUSE_STATUSBAR
m_changed = false;
}
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")
{
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);
_T("About VScroll"),
wxOK | wxICON_INFORMATION,
this);