compilation fix for wxUSE_STL==1 in DoGetSibling()

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50203 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2007-11-23 21:34:10 +00:00
parent b191e948b5
commit e3e86b6997

View File

@@ -2627,7 +2627,7 @@ wxWindow *wxWindowBase::DoGetSibling(MoveKind order) const
_T("GetPrev/NextSibling() don't work for TLWs!") ); _T("GetPrev/NextSibling() don't work for TLWs!") );
wxWindowList& siblings = GetParent()->GetChildren(); wxWindowList& siblings = GetParent()->GetChildren();
wxWindowList::compatibility_iterator i = siblings.Find(this); wxWindowList::compatibility_iterator i = siblings.Find((wxWindow *)this);
wxCHECK_MSG( i, NULL, _T("window not a child of its parent?") ); wxCHECK_MSG( i, NULL, _T("window not a child of its parent?") );
if ( order == MoveBefore ) if ( order == MoveBefore )