[8.5.2] AbtCwToolButton>>#postCreationInitialization doesn't pass enablement to the gadget

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[8.5.2] AbtCwToolButton>>#postCreationInitialization doesn't pass enablement to the gadget

Richard Sargent
Administrator
postCreationInitialization
   
" If the 'gadget' attribute has been set; then set the post creation attributes "

   
##PTR = ##PTR13314.
   
" Make sure the button widget has been created "
   
((gadget isNil) or: [gadget widget isNil])
        ifTrue
: [ ^self ].

   
set notNil ifTrue: [ gadget set: set ].
    enabled notNil ifTrue
: [ self enabled: enabled].

The "gadget widget" (xmNwidget) is always nil. Consequently, the pre-open disablement didn't get set and my buttons remain enabled.

I would guess the check should have been for the osWidget. It doesn't appear corrected in 8.6.



--
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at http://groups.google.com/group/va-smalltalk.
For more options, visit https://groups.google.com/d/optout.