From: Otto W. <ott...@or...> - 2005-12-02 17:19:01
|
Tierra wrote: >Looking at your changes here... >http://cvs.sourceforge.net/viewcvs.py/wxcode/wxCode/components/treelistctrl/samples/treelisttest/treelisttest.cpp?r1=1.21&r2=1.23 > > > Whenever the Y-pos is needed as in this case, the positions have to be calculated since through different actions (adding, deleting, expanding, etc) any Y-pos might be wrong. So it's best if the all the positions were just calculated before. In the case of inserting an item this means the positions are calculated twice but this seems bearable. Position calculation is now done only before the Y-pos is needed and in OnIdle, therefore ExpandAll should now be a little faster. I've just tried to expand all with the WindowsExplorer on a 100 folder/4000file directory and it takes for ages, I had to kill the explorer. I also tried it with wyoFiler but it neither seems to work. Is anybody able to profile the wxTreeListCtrl? O. Wyss -- Application guidelines: http://freshmeat.net/projects/wyoguide/ Cross-platform Editor: http://freshmeat.net/projects/wyoeditor/ Cross-platform Filemanager http://freshmeat.net/projects/wyofiler/ |