]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/nativdlg.cpp
Deallocate wxThreadSpecificInfo when wxThread ends.
[wxWidgets.git] / src / os2 / nativdlg.cpp
index fa5280660855e1401a4e1400318c4b530baa5668..b4c225db4f57d99ad6d7badae10801849f8e2452 100644 (file)
@@ -1,10 +1,9 @@
 /////////////////////////////////////////////////////////////////////////////
-// 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:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
@@ -137,17 +136,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