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:
Robert Roebling
2004-12-13 00:29:32 +00:00
parent b04093c949
commit 6de9d616ca
4 changed files with 2 additions and 6 deletions

View File

@@ -353,7 +353,7 @@ wxRendererGTK::DrawSplitterSash(wxWindow *win,
rect.y,
rect.width,
rect.height,
isVert ? GTK_ORIENTATION_VERTICAL : GTK_ORIENTATION_HORIZONTAL
!isVert ? GTK_ORIENTATION_VERTICAL : GTK_ORIENTATION_HORIZONTAL
);
#else // GTK+ 1.x

View File

@@ -325,10 +325,8 @@ void wxScrolledWindow::DoSetVirtualSize( int x, int y )
wxPanel::DoSetVirtualSize( x, y );
AdjustScrollbars();
#if wxUSE_CONSTRAINTS
if (GetAutoLayout())
Layout();
#endif
}
/*

View File

@@ -353,7 +353,7 @@ wxRendererGTK::DrawSplitterSash(wxWindow *win,
rect.y,
rect.width,
rect.height,
isVert ? GTK_ORIENTATION_VERTICAL : GTK_ORIENTATION_HORIZONTAL
!isVert ? GTK_ORIENTATION_VERTICAL : GTK_ORIENTATION_HORIZONTAL
);
#else // GTK+ 1.x

View File

@@ -325,10 +325,8 @@ void wxScrolledWindow::DoSetVirtualSize( int x, int y )
wxPanel::DoSetVirtualSize( x, y );
AdjustScrollbars();
#if wxUSE_CONSTRAINTS
if (GetAutoLayout())
Layout();
#endif
}
/*