# HG changeset patch # User Stefan Vogel # Date 1027613254 -7200 # Node ID 7a962b7c17e1ef94b50df9096aed33beaed1fd60 # Parent 0071e83cc41da6ee34a42751429c30c52b9bf4b1 Fix #st80 stuff (#onDevice: etc.) diff -r 0071e83cc41d -r 7a962b7c17e1 ArrowButton.st --- a/ArrowButton.st Wed Jul 24 20:12:22 2002 +0200 +++ b/ArrowButton.st Thu Jul 25 18:07:34 2002 +0200 @@ -235,9 +235,8 @@ (if no styleSheet value is defined, and no form can be constructed)" - - (StyleSheet name startsWith:#win9) ifTrue:[ + StyleSheet isWindowsStyle ifTrue:[ ^ Form width:11 height:11 fromArray:#[ @@ -285,9 +284,8 @@ (if no styleSheet value is defined, and no form can be constructed)" - - (StyleSheet name startsWith:#win9) ifTrue:[ + StyleSheet isWindowsStyle ifTrue:[ ^ Form width:11 height:11 fromArray:#[ @@ -335,9 +333,8 @@ (if no styleSheet value is defined, and no form can be constructed)" - - (StyleSheet name startsWith:#win9) ifTrue:[ + StyleSheet isWindowsStyle ifTrue:[ ^ Form width:11 height:11 fromArray:#[ @@ -384,9 +381,8 @@ (if no styleSheet value is defined, and no form can be constructed)" - - (StyleSheet name startsWith:#win9) ifTrue:[ + StyleSheet isWindowsStyle ifTrue:[ ^ Form width:11 height:11 fromArray:#[ @@ -473,7 +469,7 @@ " form isNil ifTrue:[ styleSymbol == #st80 ifTrue:[ - form := Form width:9 height:9 depth:1 on:Display. + form := Form width:9 height:9 depth:1 onDevice:aDevice. form isNil ifTrue:[^ nil]. form clear. form lineWidth:2. @@ -543,7 +539,7 @@ " form isNil ifTrue:[ styleSymbol == #st80 ifTrue:[ - form := Form width:9 height:9 depth:1 on:Display. + form := Form width:9 height:9 depth:1 onDevice:aDevice. form isNil ifTrue:[^ nil]. form clear. form lineWidth:2. @@ -613,7 +609,7 @@ " form isNil ifTrue:[ styleSymbol == #st80 ifTrue:[ - form := Form width:9 height:9 depth:1 on:Display. + form := Form width:9 height:9 depth:1 onDevice:aDevice. form isNil ifTrue:[^ nil]. form clear. form lineWidth:2. @@ -683,7 +679,7 @@ " form isNil ifTrue:[ styleSymbol == #st80 ifTrue:[ - form := Form width:9 height:9 depth:1 on:aDevice. + form := Form width:9 height:9 depth:1 onDevice:aDevice. form isNil ifTrue:[^ nil]. form clear. form lineWidth:2. @@ -988,5 +984,5 @@ !ArrowButton class methodsFor:'documentation'! version - ^ '$Header: /cvs/stx/stx/libwidg/ArrowButton.st,v 1.61 2002-05-06 06:04:29 cg Exp $' + ^ '$Header: /cvs/stx/stx/libwidg/ArrowButton.st,v 1.62 2002-07-25 16:07:34 stefan Exp $' ! !