1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* ext/tk/sample/tkcombobox.rb: fix conflict with autoload definition

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@23282 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nagai 2009-04-26 00:44:59 +00:00
parent c35cb918f6
commit 55e66f6f7f

View file

@ -219,6 +219,16 @@ EOD
end
end
################################################
# don't use Ttk widget
Object.instance_eval{remove_const :TkCombobox} if Object.autoload? :TkCombobox
# if you want to use the 'default_widget_set' selector,
#class TkCombobox < TkEntry; end
#Tk.__set_toplevel_aliases__(:Tk, TkCombobox, :TkCombobox)
################################################
class TkCombobox < TkEntry