]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/scrolwin.cpp
avoiding warning because of missing define
[wxWidgets.git] / src / gtk / scrolwin.cpp
index 2808986822679f3dbc5494dee5946738f7497e85..7519c5c58961b4a9cbd0a0742bb3a430c2b8edb1 100644 (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 );