search for: default_foreground_colour

Displaying 1 result from an estimated 1 matches for "default_foreground_colour".

2006 Dec 06
0
[ wxruby-Bugs-7131 ] Stock colours (eg Wx::WHITE) are not available before App#on_init
...they are only available after an application is started. In the old wxruby 0.6.0 they were available as soon as the wxruby library was loaded, so presumably it can be done. This is a problem because it means that code like this doesn''t work any more: class MyTextCtrl < Wx::TextCtrl DEFAULT_FOREGROUND_COLOUR = Wx::GREEN ... end b/c the ruby class is evaluated before the app is started. ---------------------------------------------------------------------- You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=218&aid=7131&group_id=35