summaryrefslogtreecommitdiff
path: root/ext/tk/lib/tk/frame.rb
diff options
context:
space:
mode:
Diffstat (limited to 'ext/tk/lib/tk/frame.rb')
-rw-r--r--ext/tk/lib/tk/frame.rb12
1 files changed, 6 insertions, 6 deletions
diff --git a/ext/tk/lib/tk/frame.rb b/ext/tk/lib/tk/frame.rb
index 4f01825da9..519b9ae8a6 100644
--- a/ext/tk/lib/tk/frame.rb
+++ b/ext/tk/lib/tk/frame.rb
@@ -92,18 +92,18 @@ class TkFrame<TkWindow
self.database_class.name
end
- def self.bind(*args)
+ def self.bind(*args, &b)
if self == WidgetClassNames[WidgetClassName] || self.name == ''
- super(*args)
+ super(*args, &b)
else
- TkDatabaseClass.new(self.name).bind(*args)
+ TkDatabaseClass.new(self.name).bind(*args, &b)
end
end
- def self.bind_append(*args)
+ def self.bind_append(*args, &b)
if self == WidgetClassNames[WidgetClassName] || self.name == ''
- super(*args)
+ super(*args, &b)
else
- TkDatabaseClass.new(self.name).bind_append(*args)
+ TkDatabaseClass.new(self.name).bind_append(*args, &b)
end
end
def self.bind_remove(*args)