]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/scrolwin.h
simplified wxTextCtrl::Create() to use wxControl::MSWCreateControl() instead of dupli...
[wxWidgets.git] / include / wx / scrolwin.h
index c85b28e56826602e3cbc34971053cd0f15dd266e..2f955eaea7a70eca84794747ee8558bf4f574d6e 100644 (file)
@@ -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;
 };
 
 // ----------------------------------------------------------------------------