Displaying 2 results from an estimated 2 matches for "s_colold".
2007 Mar 29
0
[930] branches/wxruby2/wxwidgets_282/samples/controls/controls.rb: ok -> is_ok method rename
...@ -565,7 +565,7 @@
</span><span class="cx">
</span><span class="cx"> def onChangeColour(event)
</span><span class="cx"> # test panel colour changing and propagation to the subcontrols
</span><del>- if @s_colOld.ok()
</del><ins>+ if @s_colOld.is_ok()
</ins><span class="cx">
</span><span class="cx"> set_background_colour(@s_colOld)
</span><span class="cx"> @s_colOld = NULL_COLOUR
</span></s...
2007 Feb 12
0
[863] trunk/wxruby2/samples/controls/controls.rb: Avoid error calling no-args Colour.new (no longer allowed)
...">@@ -191,7 +191,7 @@
</span><span class="cx"> def initialize(frame,x,y,w,h)
</span><span class="cx"> super( frame, -1, Point.new(x, y), Size.new(w, h) )
</span><span class="cx">
</span><del>- @s_colOld = Colour.new
</del><ins>+ @s_colOld = NULL_COLOUR
</ins><span class="cx">
</span><span class="cx"> @m_text = TextCtrl.new(self, -1, "This is the log window.\n",
</span><span class="cx">...