make wxDataViewCtrl in STL mode

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47711 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling 2007-07-25 10:17:21 +00:00
parent ec36b155bd
commit 966cb94d85

View File

@ -2558,7 +2558,7 @@ wxDataViewCtrlInternal_FindNode( wxDataViewModel * model, wxGtkTreeModelNode *tr
}
wxGtkTreeModelNode * node = treeNode;
for( ItemList::Node * n = list.GetFirst(); n; n = n->GetNext() )
for( ItemList::compatibility_iterator n = list.GetFirst(); n; n = n->GetNext() )
{
if( node && node->GetNodes().GetCount() != 0 )
{
@ -2644,7 +2644,7 @@ wxDataViewCtrlInternal_FindParentNode( wxDataViewModel * model, wxGtkTreeModelNo
}
wxGtkTreeModelNode * node = treeNode;
for( ItemList::Node * n = list.GetFirst(); n; n = n->GetNext() )
for( ItemList::compatibility_iterator n = list.GetFirst(); n; n = n->GetNext() )
{
if( node && node->GetNodes().GetCount() != 0 )
{
@ -2754,7 +2754,7 @@ void gtk_dataviewctrl_size_callback( GtkWidget *WXUNUSED(widget),
wxDataViewCtrl *win )
{
wxWindowList::Node *node = win->GetChildren().GetFirst();
wxWindowList::compatibility_iterator node = win->GetChildren().GetFirst();
while (node)
{
wxWindow *child = node->GetData();