]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/dataview.cpp
Mac fix
[wxWidgets.git] / src / gtk / dataview.cpp
index bcca3889c38489adbf0f7d98ff0256d0deff9476..e9ad3b983df1b94799348b0f0a4e0be13ab7f050 100644 (file)
@@ -2298,8 +2298,8 @@ bool wxDataViewCtrlInternal::ItemAdded( const wxDataViewItem &parent, const wxDa
 
 bool wxDataViewCtrlInternal::ItemDeleted( const wxDataViewItem &parent, const wxDataViewItem &item )
 {
-    wxGtkTreeModelNode *parent = FindNode( parent );
-    parent->DeleteChild( item.GetID() );
+    wxGtkTreeModelNode *parent_node = FindNode( parent );
+    parent_node->DeleteChild( item.GetID() );
     
     wxDataViewEvent event( wxEVT_COMMAND_DATAVIEW_MODEL_ITEM_DELETED, m_owner->GetId() );
     event.SetEventObject( m_owner );