git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50203
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
_T("GetPrev/NextSibling() don't work for TLWs!") );
wxWindowList& siblings = GetParent()->GetChildren();
_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 )
wxCHECK_MSG( i, NULL, _T("window not a child of its parent?") );
if ( order == OrderBefore )