don't refresh the scrollbars unnecessarily
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10979 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
29fd3c0cc1
commit
7d29741468
@ -729,8 +729,13 @@ void wxWindow::SetScrollPos(int orient, int pos, bool refresh)
|
||||
wxCHECK_RET( scrollbar, _T("no scrollbar to set position for") );
|
||||
|
||||
scrollbar->SetThumbPosition(pos);
|
||||
|
||||
// VZ: I think we can safely ignore this as we always refresh it
|
||||
// automatically whenever the value chanegs
|
||||
#if 0
|
||||
if ( refresh )
|
||||
Refresh();
|
||||
#endif
|
||||
}
|
||||
|
||||
int wxWindow::GetScrollPos(int orient) const
|
||||
|
Loading…
Reference in New Issue
Block a user