wxTreeCtrl->Delete deletes everything but the items Topic is solved

If you are using the main C++ distribution of wxWidgets, Feel free to ask any question related to wxWidgets development here. This means questions regarding to C++ and wxWidgets, not compile problems.
FTC
Earned a small fee
Earned a small fee
Posts: 17
Joined: Tue Dec 15, 2009 10:00 am

Post by FTC » Wed Jan 06, 2010 3:25 pm

Ok after solving one problem more than I asked for it works :D
Thanks doublemax that was wrong all along :) Now deletion of items wokrs like it should and it does not crash anymore. DeleteAllItems works as well. I guess that this method called the destructors of the (thought to be) itemdata, causing the crash.

greetings

Post Reply