search for: bugexampl

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

Did you mean: bugexample
2008 Feb 01
0
[ wxruby-Bugs-17697 ] "puts Frame.show" crashes application
...uby 1.8.6 gem 1.0.1 wxruby 1.9.4 Thanks very much. Wxruby rocks! The program: begin require ''wx'' rescue LoadError => no_wx_err begin require ''rubygems'' require ''wx'' rescue LoadError raise no_wx_err end end include Wx class BugExample < Frame def initialize(*args) super panel = Panel.new(self) sizer = BoxSizer.new(Wx::VERTICAL) # comment the line below and the bug goes away sizer.add(StaticText.new(panel, -1, ''Hi, im a weird bug example''), 0, GROW|ALL, 4) panel.set_sizer(sizer) sizer.set_...