Of course, you need to delete the widget if you dont need it since the removeWidget(..) removes widget from the container, but dont delete it. By using removeWidget(..) you'll prevent to drag some widget to drop area twice.
Regards, Dmitriy 2010/5/2 Dmitriy Igrishin <[email protected]> > Hey, David > > What reason to call delete explicitly? > As I understand, you works with pointers to WWidget. So, you should use > removeWidget(..) to let Wt remove widget from the widget tree instead > of explicitly delete them "manually". > > Regards, > Dmitriy > > 2010/5/2 David Galicia <[email protected]> > > > How do you "delete"? Do you call removeWidget(..)? >> >> No, I delete like this: >> >> delete widget; >> >> Regards, >> David >> >> >> ------------------------------------------------------------------------------ >> _______________________________________________ >> witty-interest mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/witty-interest >> > >
------------------------------------------------------------------------------
_______________________________________________ witty-interest mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/witty-interest
