compute scrollbar widths in a more standard way, get rid of redundant m_hasScrolling member

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51153 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Paul Cornett
2008-01-10 17:48:33 +00:00
parent c93c8b188d
commit 8466fc74fa
3 changed files with 18 additions and 49 deletions

View File

@@ -121,10 +121,6 @@ void wxScrollHelperNative::DoAdjustScrollbar(GtkRange* range,
void wxScrollHelperNative::AdjustScrollbars()
{
// this flag indicates which window has the scrollbars
m_win->m_hasScrolling = m_xScrollPixelsPerLine != 0 ||
m_yScrollPixelsPerLine != 0;
int vw, vh;
m_targetWindow->GetVirtualSize( &vw, &vh );