compilation fix for wxDFB STL build (#9751)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54750 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -797,7 +797,10 @@ void wxWindowDFB::PaintOverlays(const wxRect& rect)
|
||||
for ( wxDfbOverlaysList::const_iterator i = m_overlays->begin();
|
||||
i != m_overlays->end(); ++i )
|
||||
{
|
||||
wxOverlayImpl *overlay = *i;
|
||||
// the cast is necessary in STL build because of bug in const_iterator
|
||||
// operator*() return value
|
||||
const wxOverlayImpl * const
|
||||
overlay = wx_static_cast(const wxOverlayImpl *, *i);
|
||||
|
||||
wxRect orectOrig(overlay->GetRect());
|
||||
wxRect orect(orectOrig);
|
||||
|
Reference in New Issue
Block a user