here's a simple one:
I'm developing a load test suite (for GSM networks) at the moment and i have scripts that create traffic patterns and all that.
I am developing a GUI for the test suite that dynamically adjusts the layout and controls which are displayed on a wxframe. The GUI manipulates the test configuration settings, parameters and traffic patterns. The only problem is that i can't remove the old controls. When i select a different test the new desired layout does appear, but the old one still exists.
I have tried:
but i can understand why these would not be working, as clearBackground applies to the bg, and refresh simply refreshes existing controls.
How do i delete all the controls on a given wxframe? (yes, the controls are all directly on the frame)
I basically want to just clear the frame, but Clear() doesn't exist. I don't really care if the controls are destroyed or not, just as long as they're not visible anymore.