#include "wx/window.h"
+class WXDLLEXPORT wxScrollHelperEvtHandler;
class WXDLLEXPORT wxTimer;
// ----------------------------------------------------------------------------
void HandleOnMouseWheel(wxMouseEvent& event);
#endif // wxUSE_MOUSEWHEEL
+ // FIXME: this is needed for now for wxPlot compilation, should be removed
+ // once it is fixed!
+ void OnScroll(wxScrollWinEvent& event) { HandleOnScroll(event); }
+
protected:
// get pointer to our scroll rect if we use it or NULL
const wxRect *GetRect() const
*h = size.y;
}
+ // change just the target window (unlike SetWindow which changes m_win as
+ // well)
+ void DoSetTargetWindow(wxWindow *target);
+
+ // delete the event handler we installed
+ void DeleteEvtHandler();
+
wxWindow *m_win,
*m_targetWindow;
#if wxUSE_MOUSEWHEEL
int m_wheelRotation;
#endif // wxUSE_MOUSEWHEEL
+
+ wxScrollHelperEvtHandler *m_handler;
};
// ----------------------------------------------------------------------------