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:
Vadim Zeitlin
2001-07-17 08:27:42 +00:00
parent f763782968
commit 8d75348894
2 changed files with 6 additions and 2 deletions

View File

@@ -3,6 +3,11 @@
A static box is a rectangle drawn around other panel items to denote
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}
\helpref{wxControl}{wxcontrol}\\

View File

@@ -47,8 +47,7 @@
#include "wx/button.h"
#include "wx/msgdlg.h"
#include "wx/settings.h"
#include <stdio.h>
#include "wx/statbox.h"
#endif
#if wxUSE_OWNER_DRAWN