Displaying 1 result from an estimated 1 matches for "crash_app".
2006 Nov 21
0
[ wxruby-Bugs-6809 ] Weird SWIG error when constructing statusbar
...r example within the bigdemo, or the code below.
NB - it can be worked around by using the Wx::Frame#create_status_bar function.
# Simple demo code:
require ''wx''
class CrasherApp < Wx::App
  def on_init
    Wx::init_all_image_handlers
    f = Wx::Frame.new(nil, -1, ''crash_app'')
    s = Wx::StatusBar.new(f, -1)
    f.set_status_bar(s)
    f.show
  end
end
CrasherApp.new.main_loop
# The exception is:
tests/statusbarerror.rb:9:in `process_event'': Swig director type mismatch in output value of type ''bool'' (TypeError)
	from tests/statu...