git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64735
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
- wxRTC: corrected centring and right-justification spacing.
- wxRTC: fixed style selection reset after editing a style.
- wxRTC: can now edit line spacing in .1 increments from 1 to 2.
+- wxRTC: added PaintAboveContent function for drawing on top of text.
- Added wxBORDER_THEME to XRC.
- wxGraphicsContext is now enabled by default if supported by the platform.
- Fix building with using system libpng 1.4 (Volker Grabsch).
/// 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& dc) {}
+
#if wxRICHTEXT_BUFFERED_PAINTING
/// Recreate buffer bitmap if necessary
virtual bool RecreateBuffer(const wxSize& size = wxDefaultSize);
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())
{