--- a/WarnBox.st Mon Mar 20 12:49:23 1995 +0100
+++ b/WarnBox.st Mon Mar 20 12:52:08 1995 +0100
@@ -21,7 +21,7 @@
COPYRIGHT (c) 1993 by Claus Gittinger
All Rights Reserved
-$Header: /cvs/stx/stx/libwidg/Attic/WarnBox.st,v 1.8 1995-03-20 11:45:30 claus Exp $
+$Header: /cvs/stx/stx/libwidg/Attic/WarnBox.st,v 1.9 1995-03-20 11:52:01 claus Exp $
'!
!WarningBox class methodsFor:'documentation'!
@@ -42,7 +42,7 @@
version
"
-$Header: /cvs/stx/stx/libwidg/Attic/WarnBox.st,v 1.8 1995-03-20 11:45:30 claus Exp $
+$Header: /cvs/stx/stx/libwidg/Attic/WarnBox.st,v 1.9 1995-03-20 11:52:01 claus Exp $
"
!
@@ -110,7 +110,7 @@
"return the bitmap shown as icon in my instances"
WarnBitmap isNil ifTrue:[
- WarnBitmap := Image fromFile:'bitmaps/Warning.xbm'
+ WarnBitmap := Image fromFile:'bitmaps/Warning.xbm'.
WarnBitmap notNil ifTrue:[
WarnBitmap := WarnBitmap on:Display
]
--- a/WarningBox.st Mon Mar 20 12:49:23 1995 +0100
+++ b/WarningBox.st Mon Mar 20 12:52:08 1995 +0100
@@ -21,7 +21,7 @@
COPYRIGHT (c) 1993 by Claus Gittinger
All Rights Reserved
-$Header: /cvs/stx/stx/libwidg/WarningBox.st,v 1.8 1995-03-20 11:45:30 claus Exp $
+$Header: /cvs/stx/stx/libwidg/WarningBox.st,v 1.9 1995-03-20 11:52:01 claus Exp $
'!
!WarningBox class methodsFor:'documentation'!
@@ -42,7 +42,7 @@
version
"
-$Header: /cvs/stx/stx/libwidg/WarningBox.st,v 1.8 1995-03-20 11:45:30 claus Exp $
+$Header: /cvs/stx/stx/libwidg/WarningBox.st,v 1.9 1995-03-20 11:52:01 claus Exp $
"
!
@@ -110,7 +110,7 @@
"return the bitmap shown as icon in my instances"
WarnBitmap isNil ifTrue:[
- WarnBitmap := Image fromFile:'bitmaps/Warning.xbm'
+ WarnBitmap := Image fromFile:'bitmaps/Warning.xbm'.
WarnBitmap notNil ifTrue:[
WarnBitmap := WarnBitmap on:Display
]
--- a/YesNoBox.st Mon Mar 20 12:49:23 1995 +0100
+++ b/YesNoBox.st Mon Mar 20 12:52:08 1995 +0100
@@ -21,7 +21,7 @@
COPYRIGHT (c) 1989 by Claus Gittinger
All Rights Reserved
-$Header: /cvs/stx/stx/libwidg/YesNoBox.st,v 1.12 1995-03-18 05:16:46 claus Exp $
+$Header: /cvs/stx/stx/libwidg/YesNoBox.st,v 1.13 1995-03-20 11:52:08 claus Exp $
'!
!YesNoBox class methodsFor:'documentation'!
@@ -42,7 +42,7 @@
version
"
-$Header: /cvs/stx/stx/libwidg/YesNoBox.st,v 1.12 1995-03-18 05:16:46 claus Exp $
+$Header: /cvs/stx/stx/libwidg/YesNoBox.st,v 1.13 1995-03-20 11:52:08 claus Exp $
"
!
@@ -142,7 +142,10 @@
"return the bitmap shown as icon in my instances"
RequestBitmap isNil ifTrue:[
- RequestBitmap := (Image fromFile:'bitmaps/Request.xbm') on:Display
+ RequestBitmap := Image fromFile:'bitmaps/Request.xbm'.
+ RequestBitmap notNil ifTrue:[
+ RequestBitmap := RequestBitmap on:Display
+ ].
].
^ RequestBitmap
! !