Displaying 1 result from an estimated 1 matches for "attr_green_square".
2007 Feb 12
0
[864] trunk/wxruby2/samples/calendar/calendar.rb: Fix a couple of errors, add a note on CalendarDateAttr
...</span><span class="lines">@@ -241,21 +240,26 @@
</span><span class="cx">         if on
</span><span class="cx">       attr_red_circle = CalendarDateAttr.new(CAL_BORDER_ROUND, RED)
</span><span class="cx">       attr_green_square = CalendarDateAttr.new(CAL_BORDER_SQUARE, GREEN)
</span><del>-#     attr_header_like = CalendarDateAttr.new(BLUE, LIGHT_GREY)
</del><ins>+      # This wraps correctly, but causes problems because the colour is freed
+      # when the attribute is reset.
+      #
+      # att...