Displaying 1 result from an estimated 1 matches for "setdefaultstyl".
Did you mean:
setdefaultstyle
2006 Aug 24
0
Re: TextCtrl background? (was TreeCtrl background?)
You had me looking in TreeCtrl at first with the previous subject line :)
I too got an error and do not see an obvious reason, Kevin or Roy may
have a better idea as they are better with SWIG than I am.
You may want to put some printf''s in the generated TextCtrl.cpp file
within the SetDefaultStyle method and find where it is crashing.
The error in Mac OS X is:
test.rb:15:in `set_default_style'': undefined method `'' for
#<Wxruby2::TextCtrl:0x55832c> (NoMethodError)
from test.rb:15:in `initialize''
from test.rb:24:in `on_init''...