diff --git a/ChangeLog b/ChangeLog index 91b6edce06..db231c4bfe 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,13 @@ +Fri Nov 26 18:02:44 2004 Hidetoshi NAGAI + + * ext/tk/lib/tk.rb: Tk.destroy uses TkWindow#epath + + * ext/tk/lib/tk/image.rb: bug fix + + * ext/tk/lib/tk/wm.rb: add 'iconphoto' method(Windows only) + + * ext/tk/lib/tkextlib/*: some methods uses TkWindow#epath + Fri Nov 26 14:29:39 2004 Yukihiro Matsumoto * io.c (rb_io_initialize): [ruby-dev:24963] diff --git a/ext/tk/ChangeLog.tkextlib b/ext/tk/ChangeLog.tkextlib index deda55052d..42c6771c87 100644 --- a/ext/tk/ChangeLog.tkextlib +++ b/ext/tk/ChangeLog.tkextlib @@ -1,15 +1,25 @@ +2004-11-26 Hidetoshi NAGAI + + * bwidget/notebook.rb: uses epath + + * bwidget/widget.rb: ditto + + * tktable/tktable.rb: ditto + + * tcllib/cursor.rb: ditto, and bug fix + 2004-11-10 Hidetoshi NAGAI - * lib/tile/style.rb: bug fix + * tile/style.rb: bug fix 2004-11-07 Hidetoshi NAGAI - * ext/tk/lib/tkextlib/iwidgets/scrolledcanvas.rb: - bind-event methods accept multi substitution arguments. + * iwidgets/scrolledcanvas.rb: bind-event methods accept multi + substitution arguments. - * ext/tk/lib/tkextlib/tktable/tktable.rb: ditto. + * tktable/tktable.rb: ditto. - * ext/tk/lib/tkextlib/treectrl/tktreectrl.rb: ditto + * treectrl/tktreectrl.rb: ditto 2004-11-03 Hidetoshi NAGAI diff --git a/ext/tk/lib/tk.rb b/ext/tk/lib/tk.rb index 6fb139f015..0abab4b3ec 100644 --- a/ext/tk/lib/tk.rb +++ b/ext/tk/lib/tk.rb @@ -1677,7 +1677,14 @@ module Tk end def Tk.destroy(*wins) - tk_call_without_enc('destroy', *wins) + #tk_call_without_enc('destroy', *wins) + tk_call_without_enc('destroy', *(wins.collect{|win| + if win.kind_of?(TkWindow) + win.epath + else + win + end + })) end def Tk.exit diff --git a/ext/tk/lib/tk/image.rb b/ext/tk/lib/tk/image.rb index 7fd61eff5d..6eb7b98d6c 100644 --- a/ext/tk/lib/tk/image.rb +++ b/ext/tk/lib/tk/image.rb @@ -70,7 +70,9 @@ class TkPhotoImage