X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/655719367ac5e131d9642e5783f3ecf64d1a3385..3225a4b8b8656f25dac6cb20684a3c2c273cf796:/src/os2/nativdlg.cpp?ds=sidebyside diff --git a/src/os2/nativdlg.cpp b/src/os2/nativdlg.cpp index fa52806608..3c917fffe9 100644 --- a/src/os2/nativdlg.cpp +++ b/src/os2/nativdlg.cpp @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: nativdlg.cpp +// Name: src/os2/nativdlg.cpp // Purpose: Native dialog loading code (part of wxWindow) // Author: David Webster // Modified by: @@ -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