diff options
| author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 1999-12-06 09:04:03 +0000 |
|---|---|---|
| committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 1999-12-06 09:04:03 +0000 |
| commit | bd5567f19dd1845f730a6ffa01270ef67f118193 (patch) | |
| tree | 3289aa4829f7fcb044cfa70341caaafd1aa086b0 /ext/tk | |
| parent | 1e016f752585182c9f2c6d6bddee981244d0f1c2 (diff) | |
| download | ruby-bd5567f19dd1845f730a6ffa01270ef67f118193.tar.gz ruby-bd5567f19dd1845f730a6ffa01270ef67f118193.tar.xz ruby-bd5567f19dd1845f730a6ffa01270ef67f118193.zip | |
19991206
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@576 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/tk')
| -rw-r--r-- | ext/tk/lib/tk.rb | 2 | ||||
| -rw-r--r-- | ext/tk/lib/tkcanvas.rb | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/ext/tk/lib/tk.rb b/ext/tk/lib/tk.rb index f831dbc78..c933f9db8 100644 --- a/ext/tk/lib/tk.rb +++ b/ext/tk/lib/tk.rb @@ -2131,6 +2131,8 @@ class TkTextWin<TkWindow end class TkListbox<TkTextWin + include Scrollable + WidgetClassNames['Listbox'] = self def TkListbox.to_eval 'Listbox' diff --git a/ext/tk/lib/tkcanvas.rb b/ext/tk/lib/tkcanvas.rb index 40bfa5484..c67bc456e 100644 --- a/ext/tk/lib/tkcanvas.rb +++ b/ext/tk/lib/tkcanvas.rb @@ -129,6 +129,7 @@ end class TkCanvas<TkWindow include TkTreatCItemFont + include Scrollable WidgetClassName = 'Canvas'.freeze WidgetClassNames[WidgetClassName] = self |
