don't use static box as a parent
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11079 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -3,6 +3,11 @@
|
|||||||
A static box is a rectangle drawn around other panel items to denote
|
A static box is a rectangle drawn around other panel items to denote
|
||||||
a logical grouping of items.
|
a logical grouping of items.
|
||||||
|
|
||||||
|
Please note that a static box should {\bf not} be used as the parent for the
|
||||||
|
controls it contains, instead they should be siblings of each other. Although
|
||||||
|
using a static box as a parent might work in some versions of wxWindows, it
|
||||||
|
results in a crash under, for example, wxGTK.
|
||||||
|
|
||||||
\wxheading{Derived from}
|
\wxheading{Derived from}
|
||||||
|
|
||||||
\helpref{wxControl}{wxcontrol}\\
|
\helpref{wxControl}{wxcontrol}\\
|
||||||
|
@@ -47,8 +47,7 @@
|
|||||||
#include "wx/button.h"
|
#include "wx/button.h"
|
||||||
#include "wx/msgdlg.h"
|
#include "wx/msgdlg.h"
|
||||||
#include "wx/settings.h"
|
#include "wx/settings.h"
|
||||||
|
#include "wx/statbox.h"
|
||||||
#include <stdio.h>
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if wxUSE_OWNER_DRAWN
|
#if wxUSE_OWNER_DRAWN
|
||||||
|
Reference in New Issue
Block a user