#REFACTORING by cg
authorClaus Gittinger <cg@exept.de>
Fri, 12 Oct 2018 19:04:29 +0200
changeset 8500 471943c5c70b
parent 8499 46c8f7e673c2
child 8501 82a7269a3173
#REFACTORING by cg class: SimpleView changed: #keyPress:x:y: event forwarding cleanup
SimpleView.st
--- a/SimpleView.st	Fri Oct 12 12:09:13 2018 +0200
+++ b/SimpleView.st	Fri Oct 12 19:04:29 2018 +0200
@@ -6507,14 +6507,7 @@
     ].
 
     superView notNil ifTrue:[
-        superView
-            dispatchEvent:#keyPress:x:y:
-            arguments:(Array with:key with:0 with:0)
-
-"/        WindowEvent
-"/            sendEvent:#keyPress:x:y:
-"/            arguments:(Array with:key with:0 with:0)
-"/            view:superView
+        superView dispatchEvent:(WindowEvent keyPress:key x:0 y:0 view:superView)
     ] ifFalse:[
         super keyPress:key x:x y:y
     ]