- MyFrame *frame = new MyFrame ("wxWindows Skeleton", wxPoint(20,20), wxSize(600,450));
+ m_image = wxImage("kclub.bmp", wxBITMAP_TYPE_BMP);
+
+ // any unused colour will do
+ m_image.SetMaskColour( 0, 255, 255 );
+
+ if ( !m_image.Ok() )
+ {
+ wxLogError(wxT("Can't load the test image, please copy it to the ")
+ wxT("program directory"));
+ return FALSE;
+ }