added wxStaticBoxSizer ctor creating a new static box

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31556 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2005-01-21 20:56:39 +00:00
parent aeee37c362
commit 6c1635b598
3 changed files with 19 additions and 5 deletions

View File

@@ -1570,6 +1570,12 @@ wxStaticBoxSizer::wxStaticBoxSizer( wxStaticBox *box, int orient )
wxASSERT_MSG( box, wxT("wxStaticBoxSizer needs a static box") );
}
wxStaticBoxSizer::wxStaticBoxSizer(int orient, wxWindow *win, const wxString& s)
: wxBoxSizer(orient),
m_staticBox(new wxStaticBox(win, wxID_ANY, s))
{
}
static void GetStaticBoxBorders( wxStaticBox *box,
int *borderTop,
int *borderOther)