From 6b69c8ee8871bd4cb1b33437d151851a9ac056e7 Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Mon, 3 Jul 2006 17:51:34 +0000 Subject: [PATCH] Use wxTextCtrlBase as base class on 2.7 git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39955 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/richtext/richtextctrl.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/wx/richtext/richtextctrl.h b/include/wx/richtext/richtextctrl.h index 0c2988d41b..e4c9aeef51 100644 --- a/include/wx/richtext/richtextctrl.h +++ b/include/wx/richtext/richtextctrl.h @@ -575,10 +575,6 @@ public: // Implementation -#if wxRICHTEXT_DERIVES_FROM_TEXTCTRLBASE - WX_FORWARD_TO_SCROLL_HELPER() -#endif - /// Set font, and also default attributes virtual bool SetFont(const wxFont& font); @@ -673,6 +669,10 @@ public: /// Returns the first visible position in the current view long GetFirstVisiblePosition() const; +#if wxRICHTEXT_DERIVES_FROM_TEXTCTRLBASE + WX_FORWARD_TO_SCROLL_HELPER() +#endif + // Overrides protected: