On Fri, 2009-08-07 at 13:23 -0300, Steve Cookson wrote:
> Hi Guys,
> 
> Does anyone know what the correct syntax for a Perl destructor is, if
> I want to remove a field, sizer or tab from a pane? 
> 
> Any suggestions welcome!
> 
> Regards
> 
> Steve

Use the DESTROY subroutine with your Perl blessed object and invoke the
appropriate method on your panel/sizer.  wxSizer has Detach, wxWindow
has Destroy and so on.

Both the online WxWidgets' manual page at
http://docs.wxwidgets.org/trunk/index.html and the perlobj(1) manual
page might help you.


Andri



Reply via email to