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