Hello FLTK users :)
I have the following doubt.

In the example code:

Fl_Choice* choice = new Fl_Choice( /*something*/ );
int a = choice->size();

// Now a == 0 as it should

choice->add("HELLO");

a = choice->size();

// Now a == 2, but I expected to be == 1.

So, how can it be that the size of the widget grows from nil to 2?

Any help will be appreciated :)

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

Reply via email to