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
This commit is contained in:
Vadim Zeitlin
2008-07-22 01:02:47 +00:00
parent 35d5da677d
commit 4c30dd1a6b

View File

@@ -740,9 +740,7 @@ void wxWindowDFB::PaintOverlays(const wxRect& rect)
for ( wxDfbOverlaysList::const_iterator i = m_overlays->begin(); for ( wxDfbOverlaysList::const_iterator i = m_overlays->begin();
i != m_overlays->end(); ++i ) i != m_overlays->end(); ++i )
{ {
// FIXME: the cast is necessary for STL build where the iterator const wxOverlayImpl * const overlay = *i;
// (incorrectly) returns void* and not wxOverlayImpl*
wxOverlayImpl *overlay = (wxOverlayImpl*) *i;
wxRect orectOrig(overlay->GetRect()); wxRect orectOrig(overlay->GetRect());
wxRect orect(orectOrig); wxRect orect(orectOrig);