#REFACTORING by exept
authorClaus Gittinger <cg@exept.de>
Sun, 08 Sep 2019 15:51:17 +0200
changeset 8798 33194c85f03b
parent 8797 7f0174a26d81
child 8799 f11b350ffaf5
#REFACTORING by exept class: SimpleView changed: #yellowButtonMenu (send #argumentCount instead of #numArgs)
SimpleView.st
--- a/SimpleView.st	Sun Sep 08 14:57:20 2019 +0200
+++ b/SimpleView.st	Sun Sep 08 15:51:17 2019 +0200
@@ -4088,7 +4088,7 @@
         ]
     ].
 
-    menuMessage numArgs > 0 ifTrue:[
+    menuMessage argumentCount > 0 ifTrue:[
         "/ squeak compatibility (with args): create the empty menu here, let model add items
         ^ menuHolder perform:menuMessage withOptionalArgument:(Menu new) and:(device shiftDown).
     ].