search for: calendar_flags

Displaying 2 results from an estimated 2 matches for "calendar_flags".

2007 Feb 12
0
[864] trunk/wxruby2/samples/calendar/calendar.rb: Fix a couple of errors, add a note on CalendarDateAttr
...;span class="lines">@@ -33,14 +33,14 @@ </span><span class="cx"> end </span><span class="cx"> </span><span class="cx"> class MyCalendar < CalendarCtrl </span><del>- def initialize(parent, initial_date, calendar_flags) </del><ins>+ def initialize(parent, display_frame, initial_date, calendar_flags) </ins><span class="cx"> super(parent, -1, </span><span class="cx"> initial_date, </span><span class="cx">...
2006 Oct 19
0
[691] trunk/wxruby2/samples/calendar/calendar.rb: Placed controls within a panel so they appear on the correct themed background
...t;/del><ins>+ @panel = Wx::Panel.new(self) </ins><span class="cx"> add_menu_bar </span><span class="cx"> add_status_bar </span><span class="cx"> </span><span class="cx"> @calendar_flags = CAL_MONDAY_FIRST | CAL_SHOW_HOLIDAYS </span><span class="cx"> </span><del>- date = DateTime.now - @date = StaticText.new(self, -1, "") - @calendar = MyCalendar.new(self, date, @calendar_flags) </del><ins>+ now = DateTime...