Applied patch [ 1489741 ] Bugfix for wxScrolledWindow::SetScrollRate in wxUniversal
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39287 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -931,8 +931,8 @@ void wxWindow::SetScrollbar(int orient,
|
|||||||
void wxWindow::SetScrollPos(int orient, int pos, bool WXUNUSED(refresh))
|
void wxWindow::SetScrollPos(int orient, int pos, bool WXUNUSED(refresh))
|
||||||
{
|
{
|
||||||
wxScrollBar *scrollbar = GetScrollbar(orient);
|
wxScrollBar *scrollbar = GetScrollbar(orient);
|
||||||
wxCHECK_RET( scrollbar, _T("no scrollbar to set position for") );
|
|
||||||
|
|
||||||
|
if (scrollbar)
|
||||||
scrollbar->SetThumbPosition(pos);
|
scrollbar->SetThumbPosition(pos);
|
||||||
|
|
||||||
// VZ: I think we can safely ignore this as we always refresh it
|
// VZ: I think we can safely ignore this as we always refresh it
|
||||||
|
Reference in New Issue
Block a user