summaryrefslogtreecommitdiff
path: root/ext/tk/lib/tkdialog.rb
diff options
context:
space:
mode:
Diffstat (limited to 'ext/tk/lib/tkdialog.rb')
-rw-r--r--ext/tk/lib/tkdialog.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/tk/lib/tkdialog.rb b/ext/tk/lib/tkdialog.rb
index b15b79421b..febe470376 100644
--- a/ext/tk/lib/tkdialog.rb
+++ b/ext/tk/lib/tkdialog.rb
@@ -57,6 +57,7 @@ class TkDialog2 < TkWindow
@message = message
@message_config = message_config
+ @msgframe_config = msgframe_config
@bitmap = bitmap
@bitmap_config = message_config
@@ -65,10 +66,13 @@ class TkDialog2 < TkWindow
@buttons = buttons
@button_configs = proc{|num| button_configs(num)}
+ @btnframe_config = btnframe_config
#@config = "puts [winfo children .w0000];"
@config = ""
+ @command = nil
+
if keys.kind_of? Hash
keys = _symbolkey2str(keys)
@title = keys['title'] if keys.key? 'title'