--- a/RadioButton.st Sun Aug 03 14:31:57 2014 +0200
+++ b/RadioButton.st Mon Aug 18 20:28:19 2014 +0200
@@ -844,19 +844,25 @@
!RadioButton methodsFor:'changing state'!
turnOff
+ |id|
+
super turnOff.
- drawableId notNil ifTrue:[
+ id := gc drawableId.
+ id notNil ifTrue:[
self isNativeWidget ifTrue:[
- self graphicsDevice changeButtonState:false in:drawableId.
+ self graphicsDevice changeButtonState:false in:id.
].
].
!
turnOn
+ |id|
+
super turnOn.
- drawableId notNil ifTrue:[
+ id := gc drawableId.
+ id notNil ifTrue:[
self isNativeWidget ifTrue:[
- self graphicsDevice changeButtonState:true in:drawableId.
+ self graphicsDevice changeButtonState:true in:id.
].
].
! !
@@ -1142,10 +1148,10 @@
!RadioButton class methodsFor:'documentation'!
version
- ^ '$Header: /cvs/stx/stx/libwidg/RadioButton.st,v 1.55 2014-08-03 12:31:33 cg Exp $'
+ ^ '$Header: /cvs/stx/stx/libwidg/RadioButton.st,v 1.56 2014-08-18 18:28:19 stefan Exp $'
!
version_CVS
- ^ '$Header: /cvs/stx/stx/libwidg/RadioButton.st,v 1.55 2014-08-03 12:31:33 cg Exp $'
+ ^ '$Header: /cvs/stx/stx/libwidg/RadioButton.st,v 1.56 2014-08-18 18:28:19 stefan Exp $'
! !
--- a/ScrollBar.st Sun Aug 03 14:31:57 2014 +0200
+++ b/ScrollBar.st Mon Aug 18 20:28:19 2014 +0200
@@ -750,9 +750,9 @@
createElements
"private: create my elements"
- (device supportsNativeWidgetType:#Scrollbar) ifTrue:[
+ (self graphicsDevice supportsNativeWidgetType:#Scrollbar) ifTrue:[
"/ native widget contains all I need.
- "/ but I need a thumb fro the model
+ "/ but I need a thumb from the model
thumb := Scroller new.
thumb beInvisible.
^ self
@@ -1194,10 +1194,10 @@
!ScrollBar class methodsFor:'documentation'!
version
- ^ '$Header: /cvs/stx/stx/libwidg/ScrollBar.st,v 1.93 2014-08-03 12:31:57 cg Exp $'
+ ^ '$Header: /cvs/stx/stx/libwidg/ScrollBar.st,v 1.94 2014-08-18 18:28:19 stefan Exp $'
!
version_CVS
- ^ '$Header: /cvs/stx/stx/libwidg/ScrollBar.st,v 1.93 2014-08-03 12:31:57 cg Exp $'
+ ^ '$Header: /cvs/stx/stx/libwidg/ScrollBar.st,v 1.94 2014-08-18 18:28:19 stefan Exp $'
! !