scrollbar fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10286 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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 )
|
||||
{
|
||||
|
Reference in New Issue
Block a user