/////////////////////////////////////////////////////////////////////////////
-// Name: nativdlg.cpp
+// Name: src/os2/nativdlg.cpp
// Purpose: Native dialog loading code (part of wxWindow)
// Author: David Webster
// Modified by:
// ---------------------------------------------------------------------------
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
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