remove unnecessary casts

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42663 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Paul Cornett 2006-10-29 20:39:26 +00:00
parent b43503410c
commit adf45b5d48

View File

@ -460,14 +460,14 @@ END_EVENT_TABLE()
#endif // wxHAVE_RAW_BITMAP #endif // wxHAVE_RAW_BITMAP
BEGIN_EVENT_TABLE(MyCanvas, wxScrolledWindow) BEGIN_EVENT_TABLE(MyCanvas, wxScrolledWindow)
EVT_PAINT(MyCanvas::OnPaint) EVT_PAINT(MyCanvas::OnPaint)
END_EVENT_TABLE() END_EVENT_TABLE()
MyCanvas::MyCanvas( wxWindow *parent, wxWindowID id, MyCanvas::MyCanvas( wxWindow *parent, wxWindowID id,
const wxPoint &pos, const wxSize &size ) const wxPoint &pos, const wxSize &size )
: wxScrolledWindow( parent, id, pos, size, wxSUNKEN_BORDER ) : wxScrolledWindow( parent, id, pos, size, wxSUNKEN_BORDER )
, m_bmpSmileXpm((const char **) smile_xpm) , m_bmpSmileXpm(smile_xpm)
, m_iconSmileXpm((const char **) smile_xpm) , m_iconSmileXpm(smile_xpm)
{ {
my_horse_ani = NULL; my_horse_ani = NULL;
m_ani_images = 0 ; m_ani_images = 0 ;