X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ae4c09a83b04e7119becff7009c4308c3e269dbc..f986fe7613f8e59727a11285be53017fecaafd0f:/src/gtk/scrolwin.cpp?ds=sidebyside diff --git a/src/gtk/scrolwin.cpp b/src/gtk/scrolwin.cpp index 2808986822..7519c5c589 100644 --- a/src/gtk/scrolwin.cpp +++ b/src/gtk/scrolwin.cpp @@ -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 );