From: SourceForge.net <no...@so...> - 2008-07-18 23:48:52
|
Bugs item #2021938, was opened at 2008-07-18 18:48 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=462816&aid=2021938&group_id=51305 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: treelistctrl Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: JohnZ (jcz2001) Assigned to: Otto Wyss (wyo) Summary: Deleting item from treelistctrl and using arrow keys crashes Initial Comment: After my application code calls wxTreeListCtrl::Delete(), the user press the up arrow key and the application crashes. I believe the crash is due to : wxTreeListMainWindow::OnChar() is using m_curItem, which is pointing to the deleted item. wxTreeListMainWindow::Delete() is not checking to see if m_curItem is the same item being deleted and setting it to null, like it does for m_selectItem. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=462816&aid=2021938&group_id=51305 |