]> git.saurik.com Git - wxWidgets.git/blame_incremental - include/wx/os2/statbox.h
Fix wrong tab order in wxAuiNotebook after dragging.
[wxWidgets.git] / include / wx / os2 / statbox.h
... / ...
CommitLineData
1/////////////////////////////////////////////////////////////////////////////
2// Name: wx/os2/statbox.h
3// Purpose: wxStaticBox class
4// Author: David Webster
5// Modified by:
6// Created: 10/15/99
7// RCS-ID: $Id$
8// Copyright: (c) David Webster
9// Licence: wxWindows licence
10/////////////////////////////////////////////////////////////////////////////
11
12#ifndef _WX_STATBOX_H_
13#define _WX_STATBOX_H_
14
15#include "wx/control.h"
16
17// Group box
18class WXDLLIMPEXP_CORE wxStaticBox : public wxStaticBoxBase
19{
20public:
21 inline wxStaticBox() {}
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
29 )
30 {
31 Create(pParent, vId, rsLabel, rPos, rSize, lStyle, rsName);
32 }
33
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 );
42
43 //
44 // implementation from now on
45 // --------------------------
46 //
47 virtual MRESULT OS2WindowProc( WXUINT uMsg
48 ,WXWPARAM wParam
49 ,WXLPARAM lParam
50 );
51
52 //
53 // overridden base class virtuals
54 //
55 inline virtual bool AcceptsFocus(void) const { return FALSE; }
56
57protected:
58 virtual wxSize DoGetBestSize(void) const;
59
60private:
61 DECLARE_DYNAMIC_CLASS(wxStaticBox)
62}; // end of CLASS wxStaticBox
63
64#endif
65 // _WX_STATBOX_H_
66