>      But if your goal is to define the Calendar inside the
>      DateInput's ctor, I think you can still do that, without
>      the current() stuff. According to this line from the Fl_Window docs:
>
> "This widget produces an actual window. This can either be a main window,
> [..] or a "subwindow" inside a window. This is controlled by whether or not
> the window has a parent()."

That's better than messing about with Fl_Group::current().
I guess either my docs or my fltk version are out of date.
Mine doesn't mention parent().  It says:

  "Creates a new window. If Fl_Group::current() is not NULL, the window is 
created as a subwindow of the parent window."



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

Reply via email to