X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/17808a759627b03c2acbe7333dd2386557e1b804..7d6d76d0939750ff6c8f7e938e125ead70c9d188:/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);