X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a216dfa2c17368e1c42402c0e8ce5fe1d76926a9..b99450eecb344b39cb8dc31e56d458e582a8eeba:/src/richtext/richtextctrl.cpp diff --git a/src/richtext/richtextctrl.cpp b/src/richtext/richtextctrl.cpp index 18d061a4c5..0b115f6b6b 100644 --- a/src/richtext/richtextctrl.cpp +++ b/src/richtext/richtextctrl.cpp @@ -409,6 +409,9 @@ void wxRichTextCtrl::OnPaint(wxPaintEvent& WXUNUSED(event)) dc.DestroyClippingRegion(); + // Other user defined painting after everything else (i.e. all text) is painted + PaintAboveContent(dc); + #if wxRICHTEXT_USE_OWN_CARET if (GetCaret()->IsVisible()) {