X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/27fd2cb679852ee99571db38c3aa4f61c9257b70..974dee61a9a0f72652488fc4120a82846990345b:/src/common/datavcmn.cpp diff --git a/src/common/datavcmn.cpp b/src/common/datavcmn.cpp index a1a0015cbc..106bf563f8 100644 --- a/src/common/datavcmn.cpp +++ b/src/common/datavcmn.cpp @@ -17,13 +17,13 @@ #if wxUSE_DATAVIEWCTRL +#include "wx/dataview.h" + #ifndef WX_PRECOMP - #include "wx/object.h" #include "wx/log.h" #endif -#include "wx/image.h" -#include "wx/dataview.h" +const wxChar wxDataViewCtrlNameStr[] = wxT("dataviewCtrl"); // --------------------------------------------------------- // wxDataViewModel @@ -51,7 +51,7 @@ bool wxDataViewListModel::RowAppended() { bool ret = true; - wxNode *node = m_notifiers.GetFirst(); + wxList::compatibility_iterator node = m_notifiers.GetFirst(); while (node) { wxDataViewListModelNotifier* notifier = (wxDataViewListModelNotifier*) node->GetData(); @@ -67,7 +67,7 @@ bool wxDataViewListModel::RowPrepended() { bool ret = true; - wxNode *node = m_notifiers.GetFirst(); + wxList::compatibility_iterator node = m_notifiers.GetFirst(); while (node) { wxDataViewListModelNotifier* notifier = (wxDataViewListModelNotifier*) node->GetData(); @@ -83,7 +83,7 @@ bool wxDataViewListModel::RowInserted( size_t before ) { bool ret = true; - wxNode *node = m_notifiers.GetFirst(); + wxList::compatibility_iterator node = m_notifiers.GetFirst(); while (node) { wxDataViewListModelNotifier* notifier = (wxDataViewListModelNotifier*) node->GetData(); @@ -99,7 +99,7 @@ bool wxDataViewListModel::RowDeleted( size_t row ) { bool ret = true; - wxNode *node = m_notifiers.GetFirst(); + wxList::compatibility_iterator node = m_notifiers.GetFirst(); while (node) { wxDataViewListModelNotifier* notifier = (wxDataViewListModelNotifier*) node->GetData(); @@ -115,7 +115,7 @@ bool wxDataViewListModel::RowChanged( size_t row ) { bool ret = true; - wxNode *node = m_notifiers.GetFirst(); + wxList::compatibility_iterator node = m_notifiers.GetFirst(); while (node) { wxDataViewListModelNotifier* notifier = (wxDataViewListModelNotifier*) node->GetData(); @@ -131,7 +131,7 @@ bool wxDataViewListModel::ValueChanged( size_t col, size_t row ) { bool ret = true; - wxNode *node = m_notifiers.GetFirst(); + wxList::compatibility_iterator node = m_notifiers.GetFirst(); while (node) { wxDataViewListModelNotifier* notifier = (wxDataViewListModelNotifier*) node->GetData(); @@ -147,7 +147,7 @@ bool wxDataViewListModel::RowsReordered( size_t *new_order ) { bool ret = true; - wxNode *node = m_notifiers.GetFirst(); + wxList::compatibility_iterator node = m_notifiers.GetFirst(); while (node) { wxDataViewListModelNotifier* notifier = (wxDataViewListModelNotifier*) node->GetData(); @@ -163,7 +163,7 @@ bool wxDataViewListModel::Cleared() { bool ret = true; - wxNode *node = m_notifiers.GetFirst(); + wxList::compatibility_iterator node = m_notifiers.GetFirst(); while (node) { wxDataViewListModelNotifier* notifier = (wxDataViewListModelNotifier*) node->GetData(); @@ -182,7 +182,7 @@ void wxDataViewListModel::AddViewingColumn( wxDataViewColumn *view_column, size_ void wxDataViewListModel::RemoveViewingColumn( wxDataViewColumn *column ) { - wxNode *node = m_viewingColumns.GetFirst(); + wxList::compatibility_iterator node = m_viewingColumns.GetFirst(); while (node) { wxDataViewViewingColumn* tmp = (wxDataViewViewingColumn*) node->GetData();