]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/wincmn.cpp
cleanup
[wxWidgets.git] / 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 )