| Description: |
BUG:
The dialog type abortretryignore has no default button.
In the demo this results in a tcl-error:
bad -default value "": must be abort, retry, ignore, ok,
cancel, no, or yes
while executing
"tk_messageBox -icon info -default {} -message
{Message for MessageBox} -type abortretryignore -title
Information -parent ."
("eval" body line 1)
invoked from within
"eval [list tk_messageBox] [array get tkMBoxArgs]"
(procedure "MessageDlg::create" line 81)
invoked from within
... (further is uninteresting)
FIX:
add a default button even for type abortretryignore:
(line 56 and 57 in messagedlg.tcl):
switch -- $type {
abortretryignore {set lbut {abort retry ignore};
set defb 0 }
regards
Vera
|