Segmentation fault on BitmapComboBox.get_string

Hi,

BitmapComboBox displays and sends events fine, but failed to return
string value.

Error:
wxToolBar.rbw:67: [BUG] Segmentation fault
ruby 1.8.6 (2008-03-03) [i386-mswin32]
Also failed on Ruby mingw 1.8.6
ruby 1.8.6 (2009-08-04) [i386-mingw32]
wxRuby v2.0.1 mingw

Code (wxToolBar.rbw - modified)

bitmap_combo = Wx::BitmapComboBox.new(tb, cbID, “”)
tb.add_control(bitmap_combo)
evt_combobox(cbID) {|event|
bitmap_combo.get_string_selection #line 67
on_combo(event)
}

Zhimin

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs