Displaying 2 results from an estimated 2 matches for "retdata".
Did you mean:
getdata
2006 Oct 23
0
[709] trunk/wxruby2/samples/dialogs/dialogs.rb: Use paint method again, remove unnecessary global (Alex Fenton)
...an class="cx">
</span><span class="cx"> dialog = FontDialog.new(self, data)
</span><span class="cx">
</span><span class="cx"> if dialog.show_modal() == ID_OK
</span><span class="cx"> retData = dialog.get_font_data()
</span><del>- # $app.canvas_font = retData.get_chosen_font()
- # $app.canvas_text_colour = retData.get_colour()
</del><ins>+ Wx::get_app.canvas_font = retData.get_chosen_font()
+ Wx::get_app.canvas_text_colour = retData.get_colour...
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.
...i*16)
</span><span class="cx"> data.set_custom_colour(i, colour)
</span><span class="lines">@@ -214,14 +213,14 @@
</span><span class="cx"> if dialog.show_modal() == ID_OK
</span><span class="cx"> retData = dialog.get_colour_data()
</span><span class="cx"> col = retData.get_colour()
</span><del>- $myCanvas.set_background_colour(col)
- #$myCanvas.clear()
- $myCanvas.refresh()
</del><ins>+ $my_canvas.set_background_colour(col)
+...