X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/243116066d1877a29f559bb04a5c913ddc8e4d28..d606b6e9770a9f9d40acd30ce4eb4d54b8e5c3c7:/src/os2/nativdlg.cpp diff --git a/src/os2/nativdlg.cpp b/src/os2/nativdlg.cpp index fc6cb380f7..16c8294620 100644 --- a/src/os2/nativdlg.cpp +++ b/src/os2/nativdlg.cpp @@ -6,7 +6,7 @@ // Created: 10/12/99 // RCS-ID: $Id$ // Copyright: (c) David Webster -// Licence: wxWindows license +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// // =========================================================================== @@ -33,11 +33,11 @@ // --------------------------------------------------------------------------- extern wxWindow* wxWndHook; -extern MRESULT wxDlgProc( HWND hWnd - ,UINT message - ,MPARAM wParam - ,MPARAM lParam - ); +extern MRESULT EXPENTRY wxDlgProc( HWND hWnd + ,UINT message + ,MPARAM wParam + ,MPARAM lParam + ); // =========================================================================== // implementation @@ -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