]>
git.saurik.com Git - wxWidgets.git/blob - include/wx/generic/panelg.h
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: wx/generic/panelg.h
3 // Purpose: wxPanel: a container for child controls
4 // Author: Julian Smart
7 // Copyright: (c) Julian Smart
8 // Licence: wxWindows licence
9 /////////////////////////////////////////////////////////////////////////////
11 #ifndef _WX_GENERIC_PANELG_H_
12 #define _WX_GENERIC_PANELG_H_
14 #include "wx/bitmap.h"
16 class WXDLLIMPEXP_CORE wxPanel
: public wxPanelBase
22 wxPanel(wxWindow
*parent
,
23 wxWindowID winid
= wxID_ANY
,
24 const wxPoint
& pos
= wxDefaultPosition
,
25 const wxSize
& size
= wxDefaultSize
,
26 long style
= wxTAB_TRAVERSAL
| wxNO_BORDER
,
27 const wxString
& name
= wxPanelNameStr
)
29 Create(parent
, winid
, pos
, size
, style
, name
);
32 #if WXWIN_COMPATIBILITY_2_8
33 wxDEPRECATED_CONSTRUCTOR(
34 wxPanel(wxWindow
*parent
,
35 int x
, int y
, int width
, int height
,
36 long style
= wxTAB_TRAVERSAL
| wxNO_BORDER
,
37 const wxString
& name
= wxPanelNameStr
)
39 Create(parent
, wxID_ANY
, wxPoint(x
, y
), wxSize(width
, height
), style
, name
);
42 #endif // WXWIN_COMPATIBILITY_2_8
45 wxDECLARE_DYNAMIC_CLASS_NO_COPY(wxPanel
);
48 #endif // _WX_GENERIC_PANELG_H_