X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/77ffb5937e89927b621128789401db8921fe580f..64ea838d8f4d1853b7d850db93ee565e901d099a:/src/os2/nativdlg.cpp diff --git a/src/os2/nativdlg.cpp b/src/os2/nativdlg.cpp index 7a63958beb..3c917fffe9 100644 --- a/src/os2/nativdlg.cpp +++ b/src/os2/nativdlg.cpp @@ -1,12 +1,12 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: nativdlg.cpp +// Name: src/os2/nativdlg.cpp // Purpose: Native dialog loading code (part of wxWindow) // Author: David Webster // Modified by: // Created: 10/12/99 // RCS-ID: $Id$ // Copyright: (c) David Webster -// Licence: wxWidgets licence +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// // =========================================================================== @@ -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