]>
git.saurik.com Git - wxWidgets.git/blob - include/wx/os2/statbox.h
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"
17 WXDLLEXPORT_DATA(extern const char*) wxStaticBoxNameStr
;
20 class WXDLLEXPORT wxStaticBox
: public wxStaticBoxBase
23 inline wxStaticBox() {}
24 inline wxStaticBox( wxWindow
* pParent
26 ,const wxString
& rsLabel
27 ,const wxPoint
& rPos
= wxDefaultPosition
28 ,const wxSize
& rSize
= wxDefaultSize
30 ,const wxString
& rsName
= wxStaticBoxNameStr
33 Create(pParent
, vId
, rsLabel
, rPos
, rSize
, lStyle
, rsName
);
36 bool Create( wxWindow
* pParent
38 ,const wxString
& rsLabel
39 ,const wxPoint
& rPos
= wxDefaultPosition
40 ,const wxSize
& rSize
= wxDefaultSize
42 ,const wxString
& rsName
= wxStaticBoxNameStr
46 // implementation from now on
47 // --------------------------
49 virtual MRESULT
OS2WindowProc( WXUINT uMsg
55 // overriden base class virtuals
57 inline virtual bool AcceptsFocus(void) const { return FALSE
; }
60 virtual wxSize
DoGetBestSize(void) const;
63 DECLARE_DYNAMIC_CLASS(wxStaticBox
)
64 }; // end of CLASS wxStaticBox