Correctd orientation of sash handle.
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
This commit is contained in:
@@ -353,7 +353,7 @@ wxRendererGTK::DrawSplitterSash(wxWindow *win,
|
|||||||
rect.y,
|
rect.y,
|
||||||
rect.width,
|
rect.width,
|
||||||
rect.height,
|
rect.height,
|
||||||
isVert ? GTK_ORIENTATION_VERTICAL : GTK_ORIENTATION_HORIZONTAL
|
!isVert ? GTK_ORIENTATION_VERTICAL : GTK_ORIENTATION_HORIZONTAL
|
||||||
);
|
);
|
||||||
#else // GTK+ 1.x
|
#else // GTK+ 1.x
|
||||||
|
|
||||||
|
@@ -325,10 +325,8 @@ void wxScrolledWindow::DoSetVirtualSize( int x, int y )
|
|||||||
wxPanel::DoSetVirtualSize( x, y );
|
wxPanel::DoSetVirtualSize( x, y );
|
||||||
AdjustScrollbars();
|
AdjustScrollbars();
|
||||||
|
|
||||||
#if wxUSE_CONSTRAINTS
|
|
||||||
if (GetAutoLayout())
|
if (GetAutoLayout())
|
||||||
Layout();
|
Layout();
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@@ -353,7 +353,7 @@ wxRendererGTK::DrawSplitterSash(wxWindow *win,
|
|||||||
rect.y,
|
rect.y,
|
||||||
rect.width,
|
rect.width,
|
||||||
rect.height,
|
rect.height,
|
||||||
isVert ? GTK_ORIENTATION_VERTICAL : GTK_ORIENTATION_HORIZONTAL
|
!isVert ? GTK_ORIENTATION_VERTICAL : GTK_ORIENTATION_HORIZONTAL
|
||||||
);
|
);
|
||||||
#else // GTK+ 1.x
|
#else // GTK+ 1.x
|
||||||
|
|
||||||
|
@@ -325,10 +325,8 @@ void wxScrolledWindow::DoSetVirtualSize( int x, int y )
|
|||||||
wxPanel::DoSetVirtualSize( x, y );
|
wxPanel::DoSetVirtualSize( x, y );
|
||||||
AdjustScrollbars();
|
AdjustScrollbars();
|
||||||
|
|
||||||
#if wxUSE_CONSTRAINTS
|
|
||||||
if (GetAutoLayout())
|
if (GetAutoLayout())
|
||||||
Layout();
|
Layout();
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Reference in New Issue
Block a user