scrollbar fixes

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10286 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor
2001-05-23 06:15:16 +00:00
parent 06f3c649c9
commit a49afa93ca
8 changed files with 18 additions and 14 deletions

View File

@@ -1277,7 +1277,7 @@ void wxWindow::SetScrollbar(int orient, int pos, int thumbVisible,
{
if ( !m_hScrollBar->IsShown() )
m_hScrollBar->Show(true) ;
m_hScrollBar->SetScrollbar( pos , thumbVisible , range , refresh ) ;
m_hScrollBar->SetScrollbar( pos , thumbVisible , range , thumbVisible , refresh ) ;
}
}
}
@@ -1294,7 +1294,7 @@ void wxWindow::SetScrollbar(int orient, int pos, int thumbVisible,
{
if ( !m_vScrollBar->IsShown() )
m_vScrollBar->Show(true) ;
m_vScrollBar->SetScrollbar( pos , thumbVisible , range , refresh ) ;
m_vScrollBar->SetScrollbar( pos , thumbVisible , range , thumbVisible , refresh ) ;
}
}
}
@@ -1866,7 +1866,7 @@ void wxWindow::MacRedraw( RgnHandle updatergn , long time)
if ( GetParent() && m_backgroundColour != GetParent()->GetBackgroundColour() )
eraseBackground = true ;
SetClip( updatergn ) ;
SetClip( ownUpdateRgn ) ;
if ( m_macEraseOnRedraw ) {
if ( eraseBackground )
{