summaryrefslogtreecommitdiff
path: root/ext/tk/lib/tkextlib/iwidgets/calendar.rb
diff options
context:
space:
mode:
Diffstat (limited to 'ext/tk/lib/tkextlib/iwidgets/calendar.rb')
-rw-r--r--ext/tk/lib/tkextlib/iwidgets/calendar.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/tk/lib/tkextlib/iwidgets/calendar.rb b/ext/tk/lib/tkextlib/iwidgets/calendar.rb
index 7a9763addc..dab10b118b 100644
--- a/ext/tk/lib/tkextlib/iwidgets/calendar.rb
+++ b/ext/tk/lib/tkextlib/iwidgets/calendar.rb
@@ -48,6 +48,8 @@ class Tk::Iwidgets::Calendar
super << CalendarCommand
end
+ Tk::ValidateConfigure.__def_validcmd(binding, CalendarCommand)
+=begin
def command(cmd = Proc.new, args = nil)
if cmd.kind_of?(CalendarCommand)
configure('command', cmd)
@@ -57,6 +59,7 @@ class Tk::Iwidgets::Calendar
configure('command', cmd)
end
end
+=end
####################################