Minor doc tweaks plus major wxTreeCtrl bug fixed (double deletion of tree items
in some circumstances) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1911 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1048,6 +1048,7 @@ bool wxTreeCtrl::MSWNotify(WXWPARAM wParam, WXLPARAM lParam, WXLPARAM *result)
|
||||
NM_TREEVIEW* tv = (NM_TREEVIEW *)lParam;
|
||||
wxTreeItemData *data = (wxTreeItemData *)tv->itemOld.lParam;
|
||||
delete data; // may be NULL, ok
|
||||
processed = TRUE; // Make sure we don't get called twice
|
||||
}
|
||||
|
||||
*result = !event.IsAllowed();
|
||||
|
Reference in New Issue
Block a user