STL build fix after 948ddc6e0f

This commit is contained in:
Paul Cornett
2020-02-03 08:59:22 -08:00
parent 0ca45d1a59
commit ad7dfba124

View File

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