Added wxRichTextCtrl::DoLayoutBuffer so an application can perform custom tasks before or after layout.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76390 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2014-04-22 16:27:29 +00:00
parent 1a16259223
commit 90143c254c
3 changed files with 21 additions and 2 deletions

View File

@@ -1418,6 +1418,11 @@ public:
*/
virtual bool LayoutContent(bool onlyVisibleRect = false);
/**
Implements layout. An application may override this to perform operations before or after layout.
*/
virtual void DoLayoutBuffer(wxRichTextBuffer& buffer, wxDC& dc, wxRichTextDrawingContext& context, const wxRect& rect, const wxRect& parentRect, int flags);
/**
Move the caret to the given character position.