1 /////////////////////////////////////////////////////////////////////////////
3 // Purpose: wxStaticBox
8 // Copyright: (c) AUTHOR
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
13 #pragma implementation "statbox.h"
16 #include "wx/statbox.h"
17 #include "wx/mac/uma.h"
19 IMPLEMENT_DYNAMIC_CLASS(wxStaticBox
, wxControl
)
21 BEGIN_EVENT_TABLE(wxStaticBox
, wxControl
)
22 EVT_ERASE_BACKGROUND(wxStaticBox::OnEraseBackground
)
30 bool wxStaticBox::Create(wxWindow
*parent
, wxWindowID id
,
31 const wxString
& label
,
40 MacPreControlCreate( parent
, id
, label
, pos
, size
,style
, *((wxValidator
*)NULL
) , name
, &bounds
, title
) ;
42 m_macControl
= UMANewControl( parent
->GetMacRootWindow() , &bounds
, title
, true , 0 , 0 , 1,
43 kControlGroupBoxTextTitleProc
, (long) this ) ;
45 MacPostControlCreate() ;