I created a class that inherits from Fltk_Window to create a custom dialog.  
Then I create the main application window which has an instance of that custom 
input dialog.

The trouble is when the custom input dialog window is on the screen and I close 
the main application window the input dialog remains open.

The correct behaviour should be that when the main application window is closed 
any open subwindows should just close also.

By the way the custom dialog window is opened by calling the callback from an 
Fltk_Menu instance on the main window.

When I click the close button on the main window I tried deleting the input 
dialog window in the main window destructor, but I notice that clicking the 
close button on the main window does not call that windows destructor.


I've tried several different ways of setting up my classes but no matter what I 
can't get it to work right.

Any advice please.

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

Reply via email to