Ian, I have found the solution. I have made some tests.
One of these tests was the following program:

int main(void)
{
    Window *win = new Window(200,200);
    win->begin();

    win->end();
    win->show();

    CheckButton *check = new CheckButton(50, 20, 25, 25);
    win->add(check);

    Input *in = new Input(50, 50, 100, 25);
    win->add(in);

    return run();
}

The solution is adding the widgets to the main window.

winfried
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to