Add GetScrollHelper() to wxWindow.

Let wxScrollHelper set the underlying field itself.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41205 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
2006-09-13 22:18:24 +00:00
parent 5c86a7fa9e
commit f4fe2f2052
3 changed files with 10 additions and 0 deletions

View File

@@ -311,6 +311,8 @@ wxScrollHelper::wxScrollHelper(wxWindow *win)
m_handler = NULL;
m_win = win;
m_win->SetScrollHelper( this );
// by default, the associated window is also the target window
DoSetTargetWindow(win);