diff options
| author | ocean <ocean@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-09-06 02:03:02 +0000 |
|---|---|---|
| committer | ocean <ocean@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-09-06 02:03:02 +0000 |
| commit | 3e47b30ee12c1890aac458202e4c5f1f7707f17b (patch) | |
| tree | f94a3a18ca0fae4aeebf956194fea2603c68546b /ext | |
| parent | 0bcc15a8bbb0a6d252573480a4100ebaeadc8a80 (diff) | |
| download | ruby-3e47b30ee12c1890aac458202e4c5f1f7707f17b.tar.gz ruby-3e47b30ee12c1890aac458202e4c5f1f7707f17b.tar.xz ruby-3e47b30ee12c1890aac458202e4c5f1f7707f17b.zip | |
* ext/tk/lib/tk/menu.rb(TkOptionMenubutton#insert): call correct method
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6861 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext')
| -rw-r--r-- | ext/tk/lib/tk/menu.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/tk/lib/tk/menu.rb b/ext/tk/lib/tk/menu.rb index 2b4c8bcd9..f13a7c5a6 100644 --- a/ext/tk/lib/tk/menu.rb +++ b/ext/tk/lib/tk/menu.rb @@ -445,7 +445,7 @@ class TkOptionMenubutton<TkMenubutton @menu.invoke(index) end def insert(index, value) - @menu.add(index, 'radiobutton', 'variable'=>@variable, + @menu.insert(index, 'radiobutton', 'variable'=>@variable, 'label'=>value, 'value'=>value) self end |
