compilation fix for wxUSE_STL==1 in DoGetSibling()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50203 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
d2e97367fa
commit
c52b96359b
@ -2645,7 +2645,7 @@ wxWindow *wxWindowBase::DoGetSibling(WindowOrder 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 == OrderBefore )
|
||||
|
Loading…
Reference in New Issue
Block a user