]>
git.saurik.com Git - wxWidgets.git/blob - include/wx/mac/classic/statbox.h
1 /////////////////////////////////////////////////////////////////////////////
3 // Purpose: wxStaticBox class
4 // Author: Stefan Csomor
8 // Copyright: (c) Stefan Csomor
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
12 #ifndef _WX_STATBOX_H_
13 #define _WX_STATBOX_H_
15 #include "wx/control.h"
17 WXDLLEXPORT_DATA(extern const wxChar
*) wxStaticBoxNameStr
;
20 class WXDLLEXPORT wxStaticBox
: public wxControl
22 DECLARE_DYNAMIC_CLASS(wxStaticBox
)
25 inline wxStaticBox() {}
26 inline wxStaticBox(wxWindow
*parent
, wxWindowID id
,
27 const wxString
& label
,
28 const wxPoint
& pos
= wxDefaultPosition
,
29 const wxSize
& size
= wxDefaultSize
,
31 const wxString
& name
= wxStaticBoxNameStr
)
33 Create(parent
, id
, label
, pos
, size
, style
, name
);
36 bool Create(wxWindow
*parent
, wxWindowID id
,
37 const wxString
& label
,
38 const wxPoint
& pos
= wxDefaultPosition
,
39 const wxSize
& size
= wxDefaultSize
,
41 const wxString
& name
= wxStaticBoxNameStr
);
43 virtual void Command(wxCommandEvent
& WXUNUSED(event
)) {};
44 virtual void ProcessCommand(wxCommandEvent
& WXUNUSED(event
)) {};