From 4c30dd1a6b9c7c7bcba376866a30df280a6ed970 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Tue, 22 Jul 2008 01:02:47 +0000 Subject: [PATCH] remove the workaround for STL build bug in wxArrays fixed by r54761 git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54762 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/dfb/window.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/dfb/window.cpp b/src/dfb/window.cpp index a4ad6529e6..cbc67d4777 100644 --- a/src/dfb/window.cpp +++ b/src/dfb/window.cpp @@ -740,9 +740,7 @@ void wxWindowDFB::PaintOverlays(const wxRect& rect) for ( wxDfbOverlaysList::const_iterator i = m_overlays->begin(); i != m_overlays->end(); ++i ) { - // FIXME: the cast is necessary for STL build where the iterator - // (incorrectly) returns void* and not wxOverlayImpl* - wxOverlayImpl *overlay = (wxOverlayImpl*) *i; + const wxOverlayImpl * const overlay = *i; wxRect orectOrig(overlay->GetRect()); wxRect orect(orectOrig); -- 2.45.2