Further wxRichTextCtrl performance improvements
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53381 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -2074,6 +2074,11 @@ public:
|
||||
/// Replace the buffer paragraphs with the given fragment.
|
||||
void ApplyParagraphs(const wxRichTextParagraphLayoutBox& fragment);
|
||||
|
||||
#if wxABI_VERSION >= 20808
|
||||
// Create arrays to be used in refresh optimization
|
||||
void CalculateRefreshOptimizations(wxArrayInt& optimizationLineCharPositions, wxArrayInt& optimizationLineYPositions);
|
||||
#endif
|
||||
|
||||
/// Get the fragments
|
||||
wxRichTextParagraphLayoutBox& GetNewParagraphs() { return m_newParagraphs; }
|
||||
wxRichTextParagraphLayoutBox& GetOldParagraphs() { return m_oldParagraphs; }
|
||||
|
Reference in New Issue
Block a user