Add doc for SendAutoScrollEvents
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71703 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -535,9 +535,29 @@ public:
|
|||||||
double GetScaleY() const;
|
double GetScaleY() const;
|
||||||
|
|
||||||
virtual void AdjustScrollbars();
|
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;
|
||||||
|
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
/**
|
/**
|
||||||
Function which must be overridden to implement the size available for
|
Function which must be overridden to implement the size available for
|
||||||
|
Reference in New Issue
Block a user