X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4ed56ed897783dd1325fd5f50c86b71b70edeac4..78642051795528c609c2c3478f3837d7db7dfc9b:/include/wx/scrolwin.h diff --git a/include/wx/scrolwin.h b/include/wx/scrolwin.h index efdf0199ef..0894cd920b 100644 --- a/include/wx/scrolwin.h +++ b/include/wx/scrolwin.h @@ -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