DialogBox.st
changeset 4682 6ac21b8c27f3
parent 4671 c59883574da1
child 4690 8d29570eaa36
--- a/DialogBox.st	Tue Aug 27 11:14:58 2013 +0200
+++ b/DialogBox.st	Tue Aug 27 17:03:23 2013 +0200
@@ -1723,7 +1723,8 @@
     "launch a Dialog, which allows user to enter cancel, no or yes.
      Return true for 'yes', false for 'no', nil for 'cancel'.
      The default is yes.
-     The buttons labels are given in labelArray"
+     The buttons labels are given in labelArray, cancel being first, yes being last
+     (notice that the order may get reversed in some styles)"
 
     ^ self
         confirmWithCancel:aString 
@@ -1731,6 +1732,7 @@
         default:3
     "
      Dialog confirmWithCancel:'really ?' labels:#( 'Oops' 'Nope' 'Yea')
+     Dialog confirmWithCancel:'really ?'
     "
 
     "Modified: / 02-03-2007 / 15:10:34 / cg"
@@ -9984,11 +9986,11 @@
 !DialogBox class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libwidg/DialogBox.st,v 1.342 2013-08-23 18:38:40 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libwidg/DialogBox.st,v 1.343 2013-08-27 15:03:23 cg Exp $'
 !
 
 version_CVS
-    ^ '$Header: /cvs/stx/stx/libwidg/DialogBox.st,v 1.342 2013-08-23 18:38:40 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libwidg/DialogBox.st,v 1.343 2013-08-27 15:03:23 cg Exp $'
 ! !