~THelloWorld( GUIBundle* b ) : TDocumentComponentView( b ) { CheckForInitialize(); SetAllocatedArea( TGRect( 0,0, 1000, 1000 ) ); //The code to create the group attribute bundles, wagonAwayWheels, //wagonBody, and wagonTowardWheels precedes the wagon group code to follow. fWagon = new TGraphicGroup(); fWagon->AdoptFirst( wagonAwayWheels ); fWagon->AdoptLast( wagonBody ); fWagon->AdoptLast( wagonTowardWheels ); }