Use wxTextCtrlBase as base class on 2.7
authorJulian Smart <julian@anthemion.co.uk>
Mon, 3 Jul 2006 17:51:34 +0000 (17:51 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Mon, 3 Jul 2006 17:51:34 +0000 (17:51 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39955 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/richtext/richtextctrl.h

index 0c2988d41b513efc4470259787d8b20fa42e4e65..e4c9aeef512b10e63005ee874c2663e0fe4b39e8 100644 (file)
@@ -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: