X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e978011a4053f11bf253dc758dc482a991b84628..58c23da1d54bf50d9f892b692b941f2cd20d96d0:/src/common/sizer.cpp diff --git a/src/common/sizer.cpp b/src/common/sizer.cpp index 4542871dd8..81c2031157 100644 --- a/src/common/sizer.cpp +++ b/src/common/sizer.cpp @@ -17,16 +17,17 @@ #pragma hdrstop #endif +#include "wx/sizer.h" + #ifndef WX_PRECOMP #include "wx/string.h" #include "wx/intl.h" #include "wx/math.h" #include "wx/utils.h" #include "wx/settings.h" + #include "wx/statbox.h" #endif // WX_PRECOMP -#include "wx/sizer.h" -#include "wx/statbox.h" #include "wx/listimpl.cpp" #if WXWIN_COMPATIBILITY_2_4 @@ -1715,6 +1716,11 @@ wxStaticBoxSizer::wxStaticBoxSizer(int orient, wxWindow *win, const wxString& s) m_staticBox->SetContainingSizer(this); } +wxStaticBoxSizer::~wxStaticBoxSizer() +{ + delete m_staticBox; +} + static void GetStaticBoxBorders( wxStaticBox *box, int *borderTop, int *borderOther)