diff options
Diffstat (limited to 'ext/tk/lib')
-rw-r--r-- | ext/tk/lib/tk/wm.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/tk/lib/tk/wm.rb b/ext/tk/lib/tk/wm.rb index b1a2ed886a..fcd5a2cbd2 100644 --- a/ext/tk/lib/tk/wm.rb +++ b/ext/tk/lib/tk/wm.rb @@ -83,11 +83,11 @@ module Tk def Wm.command(win, value=nil) if value - tk_call('wm', 'command', epath, value) + tk_call('wm', 'command', win.epath, value) win else - #procedure(tk_call('wm', 'command', epath)) - tk_call('wm', 'command', epath) + #procedure(tk_call('wm', 'command', win.epath)) + tk_call('wm', 'command', win.epath) end end def wm_command(value=nil) |