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:
@@ -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 );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user