noreply at rubyforge.org
2010-Aug-03 21:24 UTC
[wxruby-development] [ wxruby-Bugs-28438 ] Application exits with code 0 on Sizer#layout
Bugs item #28438, was opened at 2010-08-04 00:24 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=218&aid=28438&group_id=35 Category: Incorrect behavior Group: current Status: Open Resolution: None Priority: 3 Submitted By: Victor Maslov (nakilon) Assigned to: Nobody (None) Summary: Application exits with code 0 on Sizer#layout Initial Comment: Windows 7 Maximal 6.1.7600 ruby 1.9.1p429 (2010-07-02 revision 28523) [i386-mingw32] wxruby-ruby19 (2.0.1 x86-mingw32) require ''wx'' class MyFrame < Wx::Frame def initialize super nil set_sizer Wx::BoxSizer.new Wx::VERTICAL sizer.add_item Wx::TextCtrl.new self sizer.add_item Wx::TextCtrl.new self end end class MyApp < Wx::App def on_init t = MyFrame.new t.show s = t.get_sizer s.layout # <------ here end end MyApp.new.main_loop ---------------------------------------------------------------------- You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=218&aid=28438&group_id=35