]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/scrolwin.h
wxX11:
[wxWidgets.git] / 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