* ext/tk/sample/tkcombobox.rb: fix conflict with autoload definition
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23284 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
1b67ef40c2
commit
0e61068c2b
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user