- Please note that a static box should @b not be used as the parent for the
- controls it contains, instead they should be @b siblings of each other.
- Although using a static box as a parent might work in some ports of wxWidgets,
- it would result in a crash under, for example, wxGTK, and thus it's explicitely
- disallowed (an assertion will fail if you try to add children to a wxStaticBox).
+ Note that since wxWidgets 2.9.0 you are encouraged to build the windows which are
+ placed inside wxStaticBoxes as children of the wxStaticBox itself:
+ @code
+ ...
+ wxStaticBox *stbox = new wxStaticBox(parentWindow, wxID_ANY, "StaticBox");