]>
git.saurik.com Git - wxWidgets.git/blob - src/os2/statbox.cpp
1 /////////////////////////////////////////////////////////////////////////////
3 // Purpose: wxStaticBox
8 // Copyright: (c) AUTHOR
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
13 #pragma implementation "statbox.h"
16 #include "wx/statbox.h"
18 #if !USE_SHARED_LIBRARY
19 IMPLEMENT_DYNAMIC_CLASS(wxStaticBox
, wxControl
)
21 BEGIN_EVENT_TABLE(wxStaticBox
, wxControl
)
22 EVT_ERASE_BACKGROUND(wxStaticBox::OnEraseBackground
)
31 bool wxStaticBox::Create(wxWindow
*parent
, wxWindowID id
,
32 const wxString
& label
,
40 if (parent
) parent
->AddChild(this);
43 m_windowId
= (int)NewControlId();
47 m_windowStyle
= style
;
49 // TODO: create static box
53 void wxStaticBox::SetLabel(const wxString
& label
)
58 void wxStaticBox::SetSize(int x
, int y
, int width
, int height
, int sizeFlags
)