X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/256b8649ff5f7f9721878394e7cc5052129d3502..d9e12f1a3267a834a31bc516632655e1f016fb77:/samples/scrollsub/scrollsub.cpp diff --git a/samples/scrollsub/scrollsub.cpp b/samples/scrollsub/scrollsub.cpp index 1f09dc1962..9539d17625 100644 --- a/samples/scrollsub/scrollsub.cpp +++ b/samples/scrollsub/scrollsub.cpp @@ -207,7 +207,7 @@ MyTopLabels::MyTopLabels( wxScrolledWindow *parent, wxWindowID id, const wxPoint m_owner = parent; } -void MyTopLabels::OnPaint( wxPaintEvent &WXUNUSED(event) ) +void MyTopLabels::OnPaint( wxPaintEvent& WXUNUSED(event) ) { wxPaintDC dc(this); @@ -241,7 +241,7 @@ MyRightLabels::MyRightLabels( wxScrolledWindow *parent, wxWindowID id, const wxP m_owner = parent; } -void MyRightLabels::OnPaint( wxPaintEvent &WXUNUSED(event) ) +void MyRightLabels::OnPaint( wxPaintEvent& WXUNUSED(event) ) { wxPaintDC dc(this); @@ -396,7 +396,7 @@ MyFrame::MyFrame() SetStatusWidths( 2, widths ); m_scrolled = new MyScrolledWindow( this, -1, wxDefaultPosition, wxSize(100,100) ); - m_scrolled->SetScrollbars( 10, 10, 50, 100 ); + m_scrolled->SetScrollbars( 10, 10, 50, 50 ); m_log = new wxTextCtrl( this, -1, _T("This is the log window.\n"), wxPoint(0,0), wxSize(100,100), wxTE_MULTILINE ); wxLog *old_log = wxLog::SetActiveTarget( new wxLogTextCtrl( m_log ) );