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:
@@ -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)
|
||||
|
Reference in New Issue
Block a user