[squeak-dev] The Inbox: Monticello-nice.528.mcz

Bert Freudenberg bert at freudenbergs.de
Tue Jan 22 21:56:07 UTC 2013


On 22.01.2013, at 13:31, "H. Hirzel" <hannes.hirzel at gmail.com> wrote:
> What should we do about the 'Windows' subMenu?
> 
> Rebuild it any time a menu is called? Or rebuild it any time a window is closed?


Nil it out as soon as the window is closed. Perhaps like this?

DockingBarUpdatingMenuMorph>>outOfWorld: aWorld
	self removeAllMorphs.	"forget references held in menu items"
	^super outOfWorld: aWorld


- Bert -




More information about the Squeak-dev mailing list