]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/treectrl.cpp
typos in error messages corrected
[wxWidgets.git] / src / msw / treectrl.cpp
index 061374546bba7d5291ce30a3a048fb62f64fa4fb..7f8fd2847b116da370b24b15dff00ef63a6348f2 100644 (file)
@@ -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();