]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/scrolwin.cpp
changed Refresh to take Rect as client coordinates not window coordinates
[wxWidgets.git] / src / generic / scrolwin.cpp
index 991029613dd80ccd098c7a864381d17336fb9693..e12edf05c9c7623254cb9e96e173e5ff1e9fe04e 100644 (file)
@@ -242,7 +242,9 @@ wxScrollHelper::wxScrollHelper(wxWindow *win)
 
     m_scaleX =
     m_scaleY = 1.0;
+#if wxUSE_MOUSEWHEEL
     m_wheelRotation = 0;
+#endif
 
     m_win =
     m_targetWindow = (wxWindow *)NULL;