From ad7dfba12475a6cae99d2eb48d1024eebd0fcc2a Mon Sep 17 00:00:00 2001 From: Paul Cornett Date: Mon, 3 Feb 2020 08:59:22 -0800 Subject: [PATCH] STL build fix after 948ddc6e0f --- src/common/wincmn.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/wincmn.cpp b/src/common/wincmn.cpp index 5d4730ec47..0ea559aab3 100644 --- a/src/common/wincmn.cpp +++ b/src/common/wincmn.cpp @@ -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(this)); wxCHECK_MSG( i, NULL, wxT("window not a child of its parent?") ); if ( order == OrderBefore )