Re: keeping removed widget



On Wed, 2009-12-02 at 02:54 -0800, gafferuk wrote:
> later on i wish to remove this button but i wish to keep it to be used
> later
> on.
> if i simple goes box->remove(*button) my app simply crashes. 

If box and button are not 0 then that should not crash. Could you try a
simple test case, please?

valgrind's memcheck tool should give some clue about what is happening.


-- 
murrayc murrayc com
www.murrayc.com
www.openismus.com



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]