wxScrolledWindow next take, the Gizmo controls

work again and several other problem have
    been solved, among them at least on reported
    about the old implementation (wrong max size
    due to a rounding error).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9959 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
2001-05-01 16:40:06 +00:00
parent c854c7d92c
commit 0bc0cd5d81
5 changed files with 158 additions and 48 deletions

View File

@@ -128,6 +128,9 @@ public:
// Calculate scroll increment
virtual int CalcScrollInc(wxScrollWinEvent& event);
// Overridden from wxWindows due callback being static
virtual void SetScrollPos( int orient, int pos, bool refresh = TRUE );
protected:
wxWindow *m_targetWindow;
int m_xScrollPixelsPerLine;