X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/17808a759627b03c2acbe7333dd2386557e1b804..8c2654ce3d3db6e87cc0a33f3f38eb2f5bf95134:/src/dfb/window.cpp 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);