RE: [Plib-devel] puDialogBox error
Brought to you by:
sjbaker
From: Fay J. F C. AAC/W. <joh...@eg...> - 2004-04-09 18:22:37
|
Unfortunately we need to keep the "puCleanUpJunk" in the "puInterface" destructor in case the user is destroying the entire interface at once. If there are widgets within widgets within widgets, we can't wait for another iteration to destroy the sub-sub-widgets because there may not be another iteration. John F. Fay joh...@eg... -----Original Message----- From: pli...@li... [mailto:pli...@li...]On Behalf Of Eero Pajarre Sent: Friday, April 09, 2004 1:19 PM To: pli...@li... Subject: Re: [Plib-devel] puDialogBox error Fay John F Contr AAC/WMG wrote: > You are absolutely right, deleting the widget with "puDeleteObject" > makes all the difference. We need to fix the web page there. In fact, > this problem was exactly the reason for writing "puDeleteObject". > I wonder if the real fix would require making the problematic destructor private and puDeleteObject a friend function ... No actually that would be too ugly... It might be sufficient to remove puCleanUpJunk() from puInterface destructor. (Keep in mind I have still not properly demonstrated this with the latest sources) Eero ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ plib-devel mailing list pli...@li... https://lists.sourceforge.net/lists/listinfo/plib-devel |