+/*
+ //make a group of wxCanvasObjects
+ wxCanvasObjectGroup* group1 = new wxCanvasObjectGroup();
+ group1->Prepend( new wxCanvasLine( 10,-35,50,190 ) );
+ group1->Prepend( new wxCanvasImage( image, 4,38,32,32 ) );
+ group1->Prepend( new wxCanvasRect(20,-20,50,170,0,20,240 ) );
+
+ //make another group of wxCanvasObjects
+ wxCanvasObjectGroup* group2 = new wxCanvasObjectGroup();
+ group2->Prepend( new wxCanvasImage( image, 60,38,52,32 ) );
+ group2->Prepend( new wxCanvasRect(10,20,104,52,10,40,10 ) );
+
+ //this a reference to group2 put into group1
+ wxCanvasObjectGroupRef* m_subref = new wxCanvasObjectGroupRef(60,50, group2);
+ group1->Prepend( m_subref );
+
+ //now make two refrences to group1 into root group of the canvas
+ m_ref = new MywxCanvasObjectGroupRef(40,200, group1);
+ m_canvas->Prepend( m_ref );
+
+ m_ref2 = new MywxCanvasObjectGroupRef(80,350, group1);
+ m_canvas->Prepend( m_ref2 );
+*/