X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6aa89a22b8e47000c98bff05c6f545f331f1c353..ee5aa9d44fa75e88bce9981d7d02dea9f6d5f3c4:/src/os2/nativdlg.cpp diff --git a/src/os2/nativdlg.cpp b/src/os2/nativdlg.cpp index 0a0275de35..16c8294620 100644 --- a/src/os2/nativdlg.cpp +++ b/src/os2/nativdlg.cpp @@ -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