From: Vadim Zeitlin Date: Fri, 9 Mar 2007 16:19:45 +0000 (+0000) Subject: compilation fix for wxUSE_STL==1 build X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/0a5af992db5324fb1163ee0ccc23b96d66d8d279 compilation fix for wxUSE_STL==1 build git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44700 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/gtk/dataview.cpp b/src/gtk/dataview.cpp index 9f9af8b90a..c075c1dfe4 100644 --- a/src/gtk/dataview.cpp +++ b/src/gtk/dataview.cpp @@ -817,7 +817,8 @@ bool wxGtkDataViewListModelNotifier::RowChanged( unsigned int row ) bool wxGtkDataViewListModelNotifier::ValueChanged( unsigned int model_col, unsigned int model_row ) { // This adds GTK+'s missing MVC logic for ValueChanged - wxNode *node = GetOwner()->m_viewingColumns.GetFirst(); + wxObjectList::compatibility_iterator + node = GetOwner()->m_viewingColumns.GetFirst(); while (node) { wxDataViewViewingColumn* viewing_column = (wxDataViewViewingColumn*) node->GetData(); @@ -854,7 +855,8 @@ bool wxGtkDataViewListModelNotifier::RowsReordered( unsigned int *new_order ) gtk_tree_path_free (path); // This adds GTK+'s missing MVC logic for RowsReordered - wxNode *node = GetOwner()->m_viewingColumns.GetFirst(); + wxObjectList::compatibility_iterator + node = GetOwner()->m_viewingColumns.GetFirst(); while (node) { wxDataViewViewingColumn* viewing_column = (wxDataViewViewingColumn*) node->GetData();