1 /////////////////////////////////////////////////////////////////////////////
2 // Name: wx/palmos/statbox.h
3 // Purpose: wxStaticBox class
4 // Author: William Osborne - minimal working wxPalmOS port
8 // Copyright: (c) William Osborne
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
12 #ifndef _WX_STATBOX_H_
13 #define _WX_STATBOX_H_
16 class WXDLLIMPEXP_CORE wxStaticBox
: public wxStaticBoxBase
21 wxStaticBox(wxWindow
*parent
, wxWindowID id
,
22 const wxString
& label
,
23 const wxPoint
& pos
= wxDefaultPosition
,
24 const wxSize
& size
= wxDefaultSize
,
26 const wxString
& name
= wxStaticBoxNameStr
)
28 Create(parent
, id
, label
, pos
, size
, style
, name
);
31 bool Create(wxWindow
*parent
, wxWindowID id
,
32 const wxString
& label
,
33 const wxPoint
& pos
= wxDefaultPosition
,
34 const wxSize
& size
= wxDefaultSize
,
36 const wxString
& name
= wxStaticBoxNameStr
);
38 // implementation from now on
39 // --------------------------
41 virtual WXLRESULT
MSWWindowProc(WXUINT nMsg
, WXWPARAM wParam
, WXLPARAM lParam
);
43 // overridden base class virtuals
44 virtual bool AcceptsFocus() const { return FALSE
; }
47 virtual wxSize
DoGetBestSize() const;
50 DECLARE_DYNAMIC_CLASS_NO_COPY(wxStaticBox
)