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:
@@ -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);
|
||||
|
Reference in New Issue
Block a user