]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/nativdlg.cpp
avoiding double define warnings on osx
[wxWidgets.git] / src / os2 / nativdlg.cpp
index fa5280660855e1401a4e1400318c4b530baa5668..16c829462076a7a019465b65ed7d903b2d337e09 100644 (file)
@@ -137,17 +137,17 @@ wxWindow* wxWindow::GetWindowChild1 (
     if (m_windowId == vId)
         return this;
 
-    wxWindowList::Node*             pNode = GetChildren().GetFirst();
+    wxWindowList::compatibility_iterator node = GetChildren().GetFirst();
 
-    while (pNode)
+    while (node)
     {
-        wxWindow*                   pChild = pNode->GetData();
+        wxWindow*                   pChild = node->GetData();
         wxWindow*                   pWin   = pChild->GetWindowChild1(vId);
 
         if (pWin)
             return pWin;
 
-        pNode = pNode->GetNext();
+        node = node->GetNext();
     }
     return NULL;
 } // end of wxWindow::GetWindowChild1