From: Robert Roebling Date: Sat, 12 Apr 2008 20:24:08 +0000 (+0000) Subject: Fix crash when deleting node X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/023eecb7e097d9d2251d85292deaa54dd9ca70d9 Fix crash when deleting node git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53148 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/gtk/dataview.cpp b/src/gtk/dataview.cpp index f93c64c06d..449be2f1ae 100644 --- a/src/gtk/dataview.cpp +++ b/src/gtk/dataview.cpp @@ -155,7 +155,7 @@ public: ~wxGtkTreeModelNode() { - size_t count = m_children.GetCount(); + size_t count = m_nodes.GetCount(); size_t i; for (i = 0; i < count; i++) {