Hi, removing some findA: message sendings i've found:
MenuMorph>>doButtonAction
��� "Do the receiver's inherent button action.� Makes sense for the kind of MenuMorph that is a wrapper for a single menu-item -- pass it on the the item"
���
��� (self findA: MenuItemMorph) ifNotNil: [:aMenuItem | aMenuItem doButtonAction]
And for me it doesn't make sense :).� Even the comment doesn't make sense, because it isn't considering the case where a MenuMorph has multiple MenuItemMorph s.
What should be done in cases like that?� If it's my code, i should be tempted to delete it or maybe to deprecate it.� And I'm really upset because it is a very difficult thing to verify not to break too much other things.� So, what is the "official policy" about this cases? :P� I don't like to leave it as it is...
Cheers,
Guille