X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/33c0ca829f08f59965d5e43aed676ad10121d351..2952b4b9e438896370163a0a7026ad446062b8e6:/include/wx/richtext/richtextctrl.h diff --git a/include/wx/richtext/richtextctrl.h b/include/wx/richtext/richtextctrl.h index 61f0ddb250..43f1ad5149 100644 --- a/include/wx/richtext/richtextctrl.h +++ b/include/wx/richtext/richtextctrl.h @@ -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; } @@ -671,6 +674,7 @@ public: long GetFirstVisiblePosition() const; // Overrides +protected: virtual wxSize DoGetBestSize() const ;