Added support for compiling with wxUSE_STL set to 1.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30809 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user