GraphicsMedium.st
changeset 7741 061327740950
parent 7704 491e7a86f2b9
child 7742 b5a20c01d46f
child 7745 c8a5b8bca250
equal deleted inserted replaced
7740:5a101b2965bc 7741:061327740950
  2651     "destroy a medium - here the gc is completely destroyed"
  2651     "destroy a medium - here the gc is completely destroyed"
  2652 
  2652 
  2653     gc notNil ifTrue:[
  2653     gc notNil ifTrue:[
  2654         gc destroy.
  2654         gc destroy.
  2655     ].
  2655     ].
  2656     device := nil.
  2656     "keep device, maybe we want to re-open the view later"
       
  2657 "/    device := nil.
  2657     realized := false.
  2658     realized := false.
  2658 !
  2659 !
  2659 
  2660 
  2660 initGC
  2661 initGC
  2661     "since we do not need a gc-object for the drawable until something is
  2662     "since we do not need a gc-object for the drawable until something is