]>
git.saurik.com Git - wxWidgets.git/blob - include/wx/generic/panelg.h
9376b27adf0cedfecf0ff1d8b15cd2f8a72dc6be
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: wx/generic/panelg.h
3 // Purpose: wxPanel: a container for child controls
4 // Author: Julian Smart
8 // Copyright: (c) Julian Smart
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
12 #ifndef _WX_GENERIC_PANELG_H_
13 #define _WX_GENERIC_PANELG_H_
15 class WXDLLIMPEXP_CORE wxPanel
: public wxPanelBase
21 wxPanel(wxWindow
*parent
,
22 wxWindowID winid
= wxID_ANY
,
23 const wxPoint
& pos
= wxDefaultPosition
,
24 const wxSize
& size
= wxDefaultSize
,
25 long style
= wxTAB_TRAVERSAL
| wxNO_BORDER
,
26 const wxString
& name
= wxPanelNameStr
)
28 Create(parent
, winid
, pos
, size
, style
, name
);
31 #ifdef WXWIN_COMPATIBILITY_2_8
32 wxDEPRECATED_CONSTRUCTOR(
33 wxPanel(wxWindow
*parent
,
34 int x
, int y
, int width
, int height
,
35 long style
= wxTAB_TRAVERSAL
| wxNO_BORDER
,
36 const wxString
& name
= wxPanelNameStr
)
38 Create(parent
, wxID_ANY
, wxPoint(x
, y
), wxSize(width
, height
), style
, name
);
41 #endif // WXWIN_COMPATIBILITY_2_8
44 wxDECLARE_DYNAMIC_CLASS_NO_COPY(wxPanel
);
47 #endif // _WX_GENERIC_PANELG_H_