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

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
wxCode-users mailing list
wxCode-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxcode-users

Reply via email to