]> git.saurik.com Git - wxWidgets.git/commitdiff
added comment for OnScroll
authorVadim Zeitlin <vadim@wxwidgets.org>
Fri, 23 Nov 2001 13:40:11 +0000 (13:40 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Fri, 23 Nov 2001 13:40:11 +0000 (13:40 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12620 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/scrolwin.h

index efdf0199ef9213a7cabbac86c031c51c96d2dbd2..0894cd920bb52b66677db7a9f2d569ac40991069 100644 (file)
@@ -108,7 +108,6 @@ public:
 
     // the methods to be called from the window event handlers
     void HandleOnScroll(wxScrollWinEvent& event);
-    void OnScroll(wxScrollWinEvent& event) { HandleOnScroll(event); }
     void HandleOnSize(wxSizeEvent& event);
     void HandleOnPaint(wxPaintEvent& event);
     void HandleOnChar(wxKeyEvent& event);
@@ -118,6 +117,10 @@ public:
     void HandleOnMouseWheel(wxMouseEvent& event);
 #endif // wxUSE_MOUSEWHEEL
 
+    // FIXME: this is needed for now for wxPlot compilation, should be removed
+    //        once it is fixed!
+    void OnScroll(wxScrollWinEvent& event) { HandleOnScroll(event); }
+
 protected:
     // get pointer to our scroll rect if we use it or NULL
     const wxRect *GetRect() const