search for: set_initial_font

Displaying 3 results from an estimated 3 matches for "set_initial_font".

2006 Oct 23
0
[709] trunk/wxruby2/samples/dialogs/dialogs.rb: Use paint method again, remove unnecessary global (Alex Fenton)
...0) </span><span class="lines">@@ -229,15 +223,15 @@ </span><span class="cx"> </span><span class="cx"> def onChooseFont(event) </span><span class="cx"> data = FontData.new </span><del>- data.set_initial_font($app.canvas_font) - data.set_colour($app.canvas_text_colour) </del><ins>+ data.set_initial_font(Wx::get_app.canvas_font) + data.set_colour(Wx::get_app.canvas_text_colour) </ins><span class="cx"> </span><span class="cx"> dialog =...
2006 Nov 13
7
[736] trunk/wxruby2/samples/dialogs/dialogs.rb: Fixed crashing bug in on_paint and made the code style more Ruby like.
...ss="cx"> </span><span class="cx"> </span><del>- def onChooseFont(event) </del><ins>+ def on_choose_font(event) </ins><span class="cx"> data = FontData.new </span><span class="cx"> data.set_initial_font(Wx::get_app.canvas_font) </span><span class="cx"> data.set_colour(Wx::get_app.canvas_text_colour) </span><span class="lines">@@ -229,21 +228,21 @@ </span><span class="cx"> dialog = FontDialog.new(self, data) </span><...
2005 Aug 15
16
swig_up
Tracing down some things to add in validators and I''ve run across something that kinda bothers me... In order to implement validators you have to override the clone method. The directors seems to be set up to specifically handle this situation. However, whenever C++ calls back to the object''s methods the swig_get_up function is returning false. It seems like swig_up