A static box is a rectangle drawn around other windows to denote a logical grouping of items.
Note that while the previous versions required that windows appearing inside a static box be created as its siblings (i.e. use the same parent as the static box itself), since wxWidgets 2.9.1 it is also possible to create them as children of
So the new recommended way to create static box is:
While the compatible - and now deprecated - way is
Also note that there is a specialized
See:
This class is derived (and can use functions) from:
wxWidgets docs:
Default constructor.
Constructor, creating and showing a static box.
See:
Constructor for a static box using the given window as label.
This constructor takes a pointer to an arbitrary window (although usually a
The
An example of creating a
Currently this constructor is only available in wxGTK and wxMSW, use
Since: 3.1.1 Destructor, destroying the group box.
Creates the static box for two-step construction.
See