search for: g_app

Displaying 2 results from an estimated 2 matches for "g_app".

Did you mean: d_app
2006 Aug 24
5
TreeCtrl background?
...efault_style() style.set_background_colour(WHITE) @test_text_ctrl.set_default_style(style) @top_sizer.add(@test_text_ctrl, 0, Wx::EXPAND | Wx::RIGHT, 20) end end class MyApp < App def on_init() frame = MyFrame.new("TextCtrl Test") frame.show(TRUE) end end $g_app = MyApp.new $g_app.main_loop() This is in spite of the fact that "set_default_style" appears to be correctly generated when I run rake. Any ideas on what might be causing this and/or how to fix it? --Mark Ping
2006 Aug 24
0
Re: TextCtrl background? (was TreeCtrl background?)
...xt_ctrl.set_default_style(style) > > > @top_sizer.add(@test_text_ctrl, 0, Wx::EXPAND | Wx::RIGHT, 20) > end > end > > class MyApp < App > def on_init() > frame = MyFrame.new("TextCtrl Test") > frame.show(TRUE) > end > end > > $g_app = MyApp.new > $g_app.main_loop() > > This is in spite of the fact that "set_default_style" appears to be > correctly generated when I run rake. > > Any ideas on what might be causing this and/or how to fix it? > > --Mark Ping > > _____________________________...