--- a/WarningBox.st Sat Mar 18 16:25:44 1995 +0100
+++ b/WarningBox.st Mon Mar 20 12:45:30 1995 +0100
@@ -21,7 +21,7 @@
COPYRIGHT (c) 1993 by Claus Gittinger
All Rights Reserved
-$Header: /cvs/stx/stx/libwidg/WarningBox.st,v 1.7 1995-02-06 00:55:00 claus Exp $
+$Header: /cvs/stx/stx/libwidg/WarningBox.st,v 1.8 1995-03-20 11:45:30 claus Exp $
'!
!WarningBox class methodsFor:'documentation'!
@@ -42,7 +42,7 @@
version
"
-$Header: /cvs/stx/stx/libwidg/WarningBox.st,v 1.7 1995-02-06 00:55:00 claus Exp $
+$Header: /cvs/stx/stx/libwidg/WarningBox.st,v 1.8 1995-03-20 11:45:30 claus Exp $
"
!
@@ -110,7 +110,10 @@
"return the bitmap shown as icon in my instances"
WarnBitmap isNil ifTrue:[
- WarnBitmap := (Image fromFile:'bitmaps/Warning.xbm') on:Display
+ WarnBitmap := Image fromFile:'bitmaps/Warning.xbm'
+ WarnBitmap notNil ifTrue:[
+ WarnBitmap := WarnBitmap on:Display
+ ]
].
^ WarnBitmap
! !