git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71703
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
double GetScaleY() const;
virtual void AdjustScrollbars();
double GetScaleY() const;
virtual void AdjustScrollbars();
+
+ /**
+ Are we generating the autoscroll events?
+ */
bool IsAutoScrolling() const;
bool IsAutoScrolling() const;
+
+ /**
+ Stop generating the scroll events when mouse is held outside the
+ window.
+ */
void StopAutoScrolling();
void StopAutoScrolling();
+
+ /**
+ This method can be overridden in a derived class to forbid sending the
+ auto scroll events - note that unlike StopAutoScrolling() it doesn't
+ stop the timer, so it will be called repeatedly and will typically
+ return different values depending on the current mouse position
+
+ The base class version just returns true.
+ */
+ virtual bool SendAutoScrollEvents(wxScrollWinEvent& event) const;
+