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:
@@ -2627,7 +2627,7 @@ wxWindow *wxWindowBase::DoGetSibling(MoveKind order) const
|
||||
_T("GetPrev/NextSibling() don't work for TLWs!") );
|
||||
|
||||
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?") );
|
||||
|
||||
if ( order == MoveBefore )
|
||||
|
Reference in New Issue
Block a user