1 /////////////////////////////////////////////////////////////////////////////
3 // Purpose: wxStaticBox class
4 // Author: David Webster
8 // Copyright: (c) David Webster
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
12 #ifndef _WX_STATBOX_H_
13 #define _WX_STATBOX_H_
15 #include "wx/control.h"
18 class WXDLLIMPEXP_CORE wxStaticBox
: public wxStaticBoxBase
21 inline wxStaticBox() {}
22 inline wxStaticBox( wxWindow
* pParent
24 ,const wxString
& rsLabel
25 ,const wxPoint
& rPos
= wxDefaultPosition
26 ,const wxSize
& rSize
= wxDefaultSize
28 ,const wxString
& rsName
= wxStaticBoxNameStr
31 Create(pParent
, vId
, rsLabel
, rPos
, rSize
, lStyle
, rsName
);
34 bool Create( wxWindow
* pParent
36 ,const wxString
& rsLabel
37 ,const wxPoint
& rPos
= wxDefaultPosition
38 ,const wxSize
& rSize
= wxDefaultSize
40 ,const wxString
& rsName
= wxStaticBoxNameStr
44 // implementation from now on
45 // --------------------------
47 virtual MRESULT
OS2WindowProc( WXUINT uMsg
53 // overriden base class virtuals
55 inline virtual bool AcceptsFocus(void) const { return FALSE
; }
58 virtual wxSize
DoGetBestSize(void) const;
61 DECLARE_DYNAMIC_CLASS(wxStaticBox
)
62 }; // end of CLASS wxStaticBox