From 2ec0173d4457f693995e367aa89d767626e6825a Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Fri, 23 Nov 2001 13:40:11 +0000 Subject: [PATCH] added comment for OnScroll git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12620 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/scrolwin.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 -- 2.45.2