continue setting scrollbars even if only width/height changes, not both of them (patch 788017)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22829 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2003-08-13 22:41:31 +00:00
parent 88a036cef3
commit c4513b2389

View File

@ -722,7 +722,7 @@ void wxScrollHelper::AdjustScrollbars()
oldh = h;
GetTargetSize( &w, &h );
} while ( w != oldw && h != oldh );
} while ( w != oldw || h != oldh );
#ifdef __WXMOTIF__
// Sorry, some Motif-specific code to implement a backing pixmap