if ( obj == NULL )
return wxNullBitmap ;
else if ( obj->IsKindOf(CLASSINFO(wxIcon)) )
- return wxBitmap( *(wx_static_cast(wxIcon*, obj)) ) ;
+ return wxBitmap( *(static_cast<wxIcon*>(obj)) ) ;
else
- return *(wx_static_cast(wxBitmap*, obj)) ;
+ return *(static_cast<wxBitmap*>(obj)) ;
}
// Get the icon
return wxNullIcon ;
}
else
- return *(wx_static_cast(wxIcon*, obj)) ;
+ return *(static_cast<wxIcon*>(obj)) ;
}
bool wxImageList::Replace( int index, const wxBitmap &bitmap )
wxObject *obj = (wxObject*)node->GetData();
if (obj->IsKindOf(CLASSINFO(wxIcon)))
{
- wxIcon *bm = wx_static_cast( wxIcon* , obj ) ;
+ wxIcon *bm = static_cast< wxIcon* >(obj ) ;
width = bm->GetWidth();
height = bm->GetHeight();
}
else
{
- wxBitmap *bm = wx_static_cast( wxBitmap* , obj ) ;
+ wxBitmap *bm = static_cast< wxBitmap* >(obj ) ;
width = bm->GetWidth();
height = bm->GetHeight();
}
wxObject *obj = (wxObject*)node->GetData();
if (obj->IsKindOf(CLASSINFO(wxIcon)))
{
- wxIcon *bm = wx_static_cast( wxIcon* , obj ) ;
+ wxIcon *bm = static_cast< wxIcon* >(obj ) ;
dc.DrawIcon( *bm , x, y );
}
else
{
- wxBitmap *bm = wx_static_cast( wxBitmap* , obj ) ;
+ wxBitmap *bm = static_cast< wxBitmap* >(obj ) ;
dc.DrawBitmap( *bm, x, y, (flags & wxIMAGELIST_DRAW_TRANSPARENT) > 0 );
}