Jerry Johnson wrote: > Hi all, > > I would call myself almost an intermediate C++ programmer and a beginner with > FLTK. I use version 2. > > One fundamental rule I have learned in general C++ is that I must delete > every object that I create with operator new. I also understand that somehow > FLTK takes care of deleting FLTK objects created with operator new. > > Should I assume that also includes objects I create in my program that are > independent of the FLTK hierarchy? I don't think so, but please comment. > Thanks.
No, it does not. FLTK only handles deletion of child widgets and their data. -- ______________________________________________________________________ Michael Sweet, Easy Software Products mike at easysw dot com Internet Printing and Publishing Software http://www.easysw.com _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

