From: Vadim Zeitlin Date: Fri, 27 Jul 2007 12:22:48 +0000 (+0000) Subject: and another compilation fix for ItemDeleted() from Bo X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/321431176595c64963b4cfd5b2f80117c49759d1?hp=442c56e6eec01bf26bc7cdf182cadc9bd1ce86d9 and another compilation fix for ItemDeleted() from Bo git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47744 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/generic/datavgen.cpp b/src/generic/datavgen.cpp index 970b32e79a..40d763b1fd 100644 --- a/src/generic/datavgen.cpp +++ b/src/generic/datavgen.cpp @@ -394,7 +394,7 @@ public: // notifications from wxDataViewModel bool ItemAdded( const wxDataViewItem &parent, const wxDataViewItem &item ); - bool ItemDeleted( const wxDataViewItem &item ); + bool ItemDeleted( const wxDataViewItem &parent, const wxDataViewItem &item ); bool ItemChanged( const wxDataViewItem &item ); bool ValueChanged( const wxDataViewItem &item, unsigned int col ); bool Cleared(); @@ -1917,7 +1917,8 @@ private: void DestroyTreeHelper( wxDataViewTreeNode * node); -bool wxDataViewMainWindow::ItemDeleted(const wxDataViewItem & item) +bool wxDataViewMainWindow::ItemDeleted(const wxDataViewItem& parent, + const wxDataViewItem& item) { g_model = GetOwner()->GetModel();