]> git.saurik.com Git - wxWidgets.git/blame - include/wx/os2/statbox.h
a draft of wxSSBase class - it is yet unused and hopefully doesn't break anything...
[wxWidgets.git] / include / wx / os2 / statbox.h
CommitLineData
0e320a79
DW
1/////////////////////////////////////////////////////////////////////////////
2// Name: statbox.h
3// Purpose: wxStaticBox class
409c9842 4// Author: David Webster
0e320a79 5// Modified by:
409c9842 6// Created: 10/15/99
0e320a79 7// RCS-ID: $Id$
409c9842
DW
8// Copyright: (c) David Webster
9// Licence: wxWindows licence
0e320a79
DW
10/////////////////////////////////////////////////////////////////////////////
11
12#ifndef _WX_STATBOX_H_
13#define _WX_STATBOX_H_
14
0e320a79
DW
15#include "wx/control.h"
16
17WXDLLEXPORT_DATA(extern const char*) wxStaticBoxNameStr;
18
19// Group box
210a651b 20class WXDLLEXPORT wxStaticBox : public wxStaticBoxBase
0e320a79 21{
3c299c3a 22public:
409c9842 23 inline wxStaticBox() {}
3c299c3a
DW
24 inline wxStaticBox( wxWindow* pParent
25 ,wxWindowID vId
26 ,const wxString& rsLabel
27 ,const wxPoint& rPos = wxDefaultPosition
28 ,const wxSize& rSize = wxDefaultSize
29 ,long lStyle = 0
30 ,const wxString& rsName = wxStaticBoxNameStr
409c9842
DW
31 )
32 {
3c299c3a 33 Create(pParent, vId, rsLabel, rPos, rSize, lStyle, rsName);
409c9842
DW
34 }
35
3c299c3a
DW
36 bool Create( wxWindow* pParent
37 ,wxWindowID vId
38 ,const wxString& rsLabel
39 ,const wxPoint& rPos = wxDefaultPosition
40 ,const wxSize& rSize = wxDefaultSize
41 ,long lStyle = 0
42 ,const wxString& rsName = wxStaticBoxNameStr
43 );
409c9842 44
3c299c3a 45 //
409c9842
DW
46 // implementation from now on
47 // --------------------------
3c299c3a
DW
48 //
49 virtual MRESULT OS2WindowProc( WXUINT uMsg
50 ,WXWPARAM wParam
51 ,WXLPARAM lParam
52 );
409c9842 53
3c299c3a 54 //
409c9842 55 // overriden base class virtuals
3c299c3a
DW
56 //
57 inline virtual bool AcceptsFocus(void) const { return FALSE; }
409c9842
DW
58
59protected:
3c299c3a 60 virtual wxSize DoGetBestSize(void) const;
409c9842
DW
61
62private:
3c299c3a
DW
63 DECLARE_DYNAMIC_CLASS(wxStaticBox)
64}; // end of CLASS wxStaticBox
0e320a79
DW
65
66#endif
67 // _WX_STATBOX_H_
409c9842 68