I have a wxStaticBitmap in the UI, and set it to an image. Later I want to clear it back to no image at all.
How do I do that?
More precisely, do something like this:
myStaticBitmap->SetBitmap(wxNullBitmap);
Be careful : it will change the layout of your UI as the wxStaticBitmap control client area min size will be set to (0, 0).