]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/richtext/richtextctrl.h
added wx/font.h include to fix PCH-less build
[wxWidgets.git] / include / wx / richtext / richtextctrl.h
index e9425ea376e960b7b94031c9532d5edadb7ae643..43f1ad5149609f069998a5375bbae78fba9905c7 100644 (file)
@@ -607,7 +607,10 @@ public:
     void InitCommandEvent(wxCommandEvent& event) const;
 
     /// do the window-specific processing after processing the update event
+    //  (duplicated code from wxTextCtrlBase)
+#if !wxRICHTEXT_DERIVES_FROM_TEXTCTRLBASE
     virtual void DoUpdateWindowUI(wxUpdateUIEvent& event);
+#endif
 
     /// Should we inherit colours?
     virtual bool ShouldInheritColours() const { return false; }