diff options
Diffstat (limited to 'ext/tk/lib/tkextlib/tkHTML/htmlwidget.rb')
-rw-r--r-- | ext/tk/lib/tkextlib/tkHTML/htmlwidget.rb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/ext/tk/lib/tkextlib/tkHTML/htmlwidget.rb b/ext/tk/lib/tkextlib/tkHTML/htmlwidget.rb index b9a203575a..6d060a1175 100644 --- a/ext/tk/lib/tkextlib/tkHTML/htmlwidget.rb +++ b/ext/tk/lib/tkextlib/tkHTML/htmlwidget.rb @@ -91,9 +91,10 @@ class Tk::HTML_Widget def create_self(keys) if keys and keys != None - tk_call_without_enc('html', @path, *hash_kv(keys, true)) + tk_call_without_enc(self.class::TkCommandNames[0], @path, + *hash_kv(keys, true)) else - tk_call_without_enc('html', @path) + tk_call_without_enc(self.class::TkCommandNames[0], @path) end end private :create_self |