cache the item text size to optimize tree layout/painting (#9956)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55589 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2008-09-13 21:28:57 +00:00
parent 8239070ba9
commit cac09ce8b7
2 changed files with 230 additions and 93 deletions

View File

@@ -315,7 +315,6 @@ protected:
void CalculateLevel( wxGenericTreeItem *item, wxDC &dc, int level, int &y );
void CalculatePositions();
void CalculateSize( wxGenericTreeItem *item, wxDC &dc );
void RefreshSubtree( wxGenericTreeItem *item );
void RefreshLine( wxGenericTreeItem *item );