]> git.saurik.com Git - wxWidgets.git/commitdiff
compilation fix for wxUSE_STL==1 in DoGetSibling()
authorVadim Zeitlin <vadim@wxwidgets.org>
Fri, 23 Nov 2007 21:34:10 +0000 (21:34 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Fri, 23 Nov 2007 21:34:10 +0000 (21:34 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50203 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/wincmn.cpp

index 8d16cbcdfdc9f16c7b16f78c463cdcffdc18e548..9b95e33b7b5326fb7b1a738701ece75ac17289dd 100644 (file)
@@ -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 )