Re: [fltk.general] Segmentation fault when calling Fl_Output-value()

2013-01-28 Thread Duncan Gibson
On Fri, 25 Jan 2013 09:13:15 -0600 Moses McKnight mo...@texband.net wrote: void gen_license_cb(Fl_Widget *w, void *ptr) { licgen generator; generator.make_window(); generator.hub_id_input-type(FL_INT_INPUT); generator.hub_id_input-precision(0);

Re: [fltk.general] Segmentation fault when calling Fl_Output-value()

2013-01-25 Thread Ian MacArthur
On 25 Jan 2013, at 04:56, Moses McKnight wrote: I'm using the latest svn of fltk 1.3, and I have a simple window with an Fl_Output. When I call the value(const char*) function with a string I get a segmentation fault, and running it in the debugger shows it happens in the

Re: [fltk.general] Segmentation fault when calling Fl_Output-value()

2013-01-25 Thread Moses McKnight
On 01/25/2013 03:27 AM, Ian MacArthur wrote: On 25 Jan 2013, at 04:56, Moses McKnight wrote: I'm using the latest svn of fltk 1.3, and I have a simple window with an Fl_Output. When I call the value(const char*) function with a string I get a segmentation fault, and running it in the

Re: [fltk.general] Segmentation fault when calling Fl_Output-value()

2013-01-25 Thread Moses McKnight
Ok, I think I figured it out. The way I create the window is like this in a menu callback function: void gen_license_cb(Fl_Widget *w, void *ptr) { licgen generator; generator.make_window(); generator.hub_id_input-type(FL_INT_INPUT);

Re: [fltk.general] Segmentation fault when calling Fl_Output-value()

2013-01-25 Thread Moses McKnight
On 01/25/2013 09:13 AM, Moses McKnight wrote: Ok, I think I figured it out. The way I create the window is like this in a menu callback function: void gen_license_cb(Fl_Widget *w, void *ptr) { licgen generator; generator.make_window();

[fltk.general] Segmentation fault when calling Fl_Output-value()

2013-01-24 Thread Moses McKnight
I'm using the latest svn of fltk 1.3, and I have a simple window with an Fl_Output. When I call the value(const char*) function with a string I get a segmentation fault, and running it in the debugger shows it happens in the Fl_Widget::clear_changed() function, called at the beginning of the