I am using an .xrc file to setup my wxWidgets GUI. For most GUI elements I can specify <hidden>1</hidden>
and the element will not be drawn.
What I'd like is to be able to hide my wxStaticBoxSizer
and have it and its contents not be drawn.
It's set up as follows, but adding <hidden>1</hidden>
does not have any effect. The static box still draws as does everything it contains.
<object class="wxStaticBoxSizer" name="wxID_ANY">
<orient>wxVERTICAL</orient>
<label>Flight Formation</label>
<object class="sizeritem">
<flag>wxGROW|wxALL</flag>
<border>10</border>
<option>1</option>
Is it possible to hide this wxStaticBoxSizer
from the .xrc file?