X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/830ed6d97d913f9d3cf53999a82d3507d5aebde4..24b9f055150de329d1fb61df5ce8d14e6d657cd0:/src/gtk1/scrolwin.cpp?ds=inline diff --git a/src/gtk1/scrolwin.cpp b/src/gtk1/scrolwin.cpp index 7e38b4c7b2..af7b2ea514 100644 --- a/src/gtk1/scrolwin.cpp +++ b/src/gtk1/scrolwin.cpp @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: generic/scrolwin.cpp +// Name: gtk/scrolwin.cpp // Purpose: wxScrolledWindow implementation // Author: Julian Smart // Modified by: @@ -137,6 +137,7 @@ void wxScrolledWindow::Init() m_targetWindow = (wxWindow*) NULL; m_scaleX = 1.0; m_scaleY = 1.0; + m_hasScrolling = TRUE; } bool wxScrolledWindow::Create(wxWindow *parent, @@ -774,3 +775,4 @@ void wxScrolledWindow::OnChar(wxKeyEvent& event) event.Skip(); } } +