]> git.saurik.com Git - wxWidgets.git/commitdiff
deprecate OnScroll() which existed for compatibility only even before
authorVadim Zeitlin <vadim@wxwidgets.org>
Thu, 25 Dec 2008 12:23:28 +0000 (12:23 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Thu, 25 Dec 2008 12:23:28 +0000 (12:23 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57537 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/scrolwin.h

index c40548cd69818043d68b4de42bde64d94b4fe262..41726f3aba6040019372374fd862a374f00e5144 100644 (file)
@@ -189,9 +189,11 @@ public:
 #endif // wxUSE_MOUSEWHEEL
     void HandleOnChildFocus(wxChildFocusEvent& event);
 
-    // FIXME: this is needed for now for wxPlot compilation, should be removed
-    //        once it is fixed!
-    void OnScroll(wxScrollWinEvent& event) { HandleOnScroll(event); }
+#if WXWIN_COMPATIBILITY_2_8
+    wxDEPRECATED(
+        void OnScroll(wxScrollWinEvent& event) { HandleOnScroll(event); }
+    )
+#endif // WXWIN_COMPATIBILITY_2_8
 
 protected:
     // get pointer to our scroll rect if we use it or NULL