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