From e3e86b6997f9b2a42688c8185a4d0a2012f7a900 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Fri, 23 Nov 2007 21:34:10 +0000 Subject: [PATCH] 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 --- 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 1b5931c15b..eb0c2607c6 100644 --- a/src/common/wincmn.cpp +++ b/src/common/wincmn.cpp @@ -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 )