Adapted some code in the native scrolling window
to the generic version's code.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30979
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
rect.y,
rect.width,
rect.height,
rect.y,
rect.width,
rect.height,
- isVert ? GTK_ORIENTATION_VERTICAL : GTK_ORIENTATION_HORIZONTAL
+ !isVert ? GTK_ORIENTATION_VERTICAL : GTK_ORIENTATION_HORIZONTAL
wxPanel::DoSetVirtualSize( x, y );
AdjustScrollbars();
wxPanel::DoSetVirtualSize( x, y );
AdjustScrollbars();
if (GetAutoLayout())
Layout();
if (GetAutoLayout())
Layout();
rect.y,
rect.width,
rect.height,
rect.y,
rect.width,
rect.height,
- isVert ? GTK_ORIENTATION_VERTICAL : GTK_ORIENTATION_HORIZONTAL
+ !isVert ? GTK_ORIENTATION_VERTICAL : GTK_ORIENTATION_HORIZONTAL
wxPanel::DoSetVirtualSize( x, y );
AdjustScrollbars();
wxPanel::DoSetVirtualSize( x, y );
AdjustScrollbars();
if (GetAutoLayout())
Layout();
if (GetAutoLayout())
Layout();