Steve Cookson wrote:

  Hi,

I can't see any obvious samples that tell you how the Perl syntax works for removing an element, like a bitmap, a textctrl or a button.

Any pointers would be welcome.

For all classes derived from wxWindow you can use ->Destroy. Most other classes (including wxBitmap) do not need to be explicitly destroyed (the ones that do should have a note detailing it).

HTH,
Mattia

Reply via email to