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 #if !USE_SHARED_LIBRARY
20 IMPLEMENT_DYNAMIC_CLASS(wxStaticBox
, wxControl
)
22 BEGIN_EVENT_TABLE(wxStaticBox
, wxControl
)
23 EVT_ERASE_BACKGROUND(wxStaticBox::OnEraseBackground
)
32 bool wxStaticBox::Create(wxWindow
*parent
, wxWindowID id
,
33 const wxString
& label
,
42 MacPreControlCreate( parent
, id
, label
, pos
, size
,style
, *((wxValidator
*)NULL
) , name
, &bounds
, title
) ;
44 m_macControl
= UMANewControl( parent
->GetMacRootWindow() , &bounds
, title
, true , 0 , 0 , 1,
45 kControlGroupBoxTextTitleProc
, (long) this ) ;
47 MacPostControlCreate() ;