X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a0e9a5dfdeebc1d5e2d7e6e2146e63a26c8645a1..a65b84f43417c8d0d156d63ae12474b29d1a739c:/include/wx/richtext/richtextctrl.h diff --git a/include/wx/richtext/richtextctrl.h b/include/wx/richtext/richtextctrl.h index 23a5fdd62c..9973ba7b81 100644 --- a/include/wx/richtext/richtextctrl.h +++ b/include/wx/richtext/richtextctrl.h @@ -687,6 +687,9 @@ public: /// Paint the background virtual void PaintBackground(wxDC& dc); + /// Other user defined painting after everything else (i.e. all text) is painted + virtual void PaintAboveContent(wxDC& WXUNUSED(dc)) {} + #if wxRICHTEXT_BUFFERED_PAINTING /// Recreate buffer bitmap if necessary virtual bool RecreateBuffer(const wxSize& size = wxDefaultSize); @@ -802,6 +805,7 @@ public: protected: // FIXME: this does not work, it allows this code to compile but will fail // during run-time +#ifndef __WXUNIVERSAL__ #ifdef __WXMSW__ virtual WXHWND GetEditHWND() const { return GetHWND(); } #endif @@ -813,6 +817,7 @@ protected: virtual GtkEditable *GetEditable() const { return NULL; } virtual GtkEntry *GetEntry() const { return NULL; } #endif +#endif // !__WXUNIVERSAL__ // Overrides protected: