X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3379ed3789e405f874d9db757d95346f1d378795..bd73ba41f93a040ecf9c18040d7f788992d0a6ec:/include/wx/scrolwin.h?ds=sidebyside diff --git a/include/wx/scrolwin.h b/include/wx/scrolwin.h index c85b28e568..2f955eaea7 100644 --- a/include/wx/scrolwin.h +++ b/include/wx/scrolwin.h @@ -14,6 +14,7 @@ #include "wx/window.h" +class WXDLLEXPORT wxScrollHelperEvtHandler; class WXDLLEXPORT wxTimer; // ---------------------------------------------------------------------------- @@ -139,6 +140,13 @@ protected: *h = size.y; } + // change just the target window (unlike SetWindow which changes m_win as + // well) + void DoSetTargetWindow(wxWindow *target); + + // delete the event handler we installed + void DeleteEvtHandler(); + wxWindow *m_win, *m_targetWindow; @@ -164,6 +172,8 @@ protected: #if wxUSE_MOUSEWHEEL int m_wheelRotation; #endif // wxUSE_MOUSEWHEEL + + wxScrollHelperEvtHandler *m_handler; }; // ----------------------------------------------------------------------------