don't include statbox.h from the header, move wxStaticBoxSizer dtor to .cpp file instead
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39429 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
ab1ce969df
commit
649cfca1ce
@ -678,14 +678,14 @@ private:
|
||||
|
||||
#if wxUSE_STATBOX
|
||||
|
||||
#include "wx/statbox.h"
|
||||
class WXDLLEXPORT wxStaticBox;
|
||||
|
||||
class WXDLLEXPORT wxStaticBoxSizer: public wxBoxSizer
|
||||
{
|
||||
public:
|
||||
wxStaticBoxSizer(wxStaticBox *box, int orient);
|
||||
wxStaticBoxSizer(int orient, wxWindow *win, const wxString& label = wxEmptyString);
|
||||
virtual ~wxStaticBoxSizer() { delete m_staticBox; }
|
||||
virtual ~wxStaticBoxSizer();
|
||||
|
||||
void RecalcSizes();
|
||||
wxSize CalcMin();
|
||||
|
@ -1715,6 +1715,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)
|
||||
|
Loading…
Reference in New Issue
Block a user