]> git.saurik.com Git - wxWidgets.git/commitdiff
remove the workaround for STL build bug in wxArrays fixed by r54761
authorVadim Zeitlin <vadim@wxwidgets.org>
Tue, 22 Jul 2008 01:02:47 +0000 (01:02 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Tue, 22 Jul 2008 01:02:47 +0000 (01:02 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54762 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/dfb/window.cpp

index a4ad6529e68b82fb87b6c02a029c24cab4a25f68..cbc67d47773f8cabaab33fa5b7ec409b1e91d19f 100644 (file)
@@ -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);