Added PaintAboveContent function for drawing on top of text (#12176)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64735 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2010-06-25 14:05:07 +00:00
parent 658e62e493
commit 35bdbae572
3 changed files with 7 additions and 0 deletions

View File

@@ -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())
{