]> git.saurik.com Git - wxWidgets.git/blame - include/wx/os2/statbox.h
explained how the signature works
[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 8// Copyright: (c) David Webster
65571936 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
0e320a79 17// Group box
210a651b 18class WXDLLEXPORT wxStaticBox : public wxStaticBoxBase
0e320a79 19{
3c299c3a 20public:
409c9842 21 inline wxStaticBox() {}
3c299c3a
DW
22 inline wxStaticBox( wxWindow* pParent
23 ,wxWindowID vId
24 ,const wxString& rsLabel
25 ,const wxPoint& rPos = wxDefaultPosition
26 ,const wxSize& rSize = wxDefaultSize
27 ,long lStyle = 0
28 ,const wxString& rsName = wxStaticBoxNameStr
409c9842
DW
29 )
30 {
3c299c3a 31 Create(pParent, vId, rsLabel, rPos, rSize, lStyle, rsName);
409c9842
DW
32 }
33
3c299c3a
DW
34 bool Create( wxWindow* pParent
35 ,wxWindowID vId
36 ,const wxString& rsLabel
37 ,const wxPoint& rPos = wxDefaultPosition
38 ,const wxSize& rSize = wxDefaultSize
39 ,long lStyle = 0
40 ,const wxString& rsName = wxStaticBoxNameStr
41 );
409c9842 42
3c299c3a 43 //
409c9842
DW
44 // implementation from now on
45 // --------------------------
3c299c3a
DW
46 //
47 virtual MRESULT OS2WindowProc( WXUINT uMsg
48 ,WXWPARAM wParam
49 ,WXLPARAM lParam
50 );
409c9842 51
3c299c3a 52 //
409c9842 53 // overriden base class virtuals
3c299c3a
DW
54 //
55 inline virtual bool AcceptsFocus(void) const { return FALSE; }
409c9842
DW
56
57protected:
3c299c3a 58 virtual wxSize DoGetBestSize(void) const;
409c9842
DW
59
60private:
3c299c3a
DW
61 DECLARE_DYNAMIC_CLASS(wxStaticBox)
62}; // end of CLASS wxStaticBox
0e320a79
DW
63
64#endif
65 // _WX_STATBOX_H_
409c9842 66