When I look at all implementors of mouseDown: , 
I think that most will not like this implementation
of click. They send messages to the event that
nil doesn't understand.  

Morph>>click
        "Pretend the user clicked on me."

        (self handlesMouseDown: nil) ifTrue: [
                self mouseDown: nil.
                self mouseUp: nil].

I would like to be able to use click in 
driving a design from tests.
Can we replace nil by some NullObject
here?

Stephan


Reply via email to