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:
@@ -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())
|
||||
{
|
||||
|
Reference in New Issue
Block a user