]>
git.saurik.com Git - wxWidgets.git/blob - include/wx/generic/panelg.h
3c815485f218bc4ab94f31c12ae800ada53d4149
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
20 // Old-style constructor (no default values for coordinates to avoid
21 // ambiguity with the new one)
22 wxPanel(wxWindow
*parent
,
23 int x
, int y
, int width
, int height
,
24 long style
= wxTAB_TRAVERSAL
| wxNO_BORDER
,
25 const wxString
& name
= wxPanelNameStr
)
27 Create(parent
, wxID_ANY
, wxPoint(x
, y
), wxSize(width
, height
), style
, name
);
31 wxPanel(wxWindow
*parent
,
32 wxWindowID winid
= wxID_ANY
,
33 const wxPoint
& pos
= wxDefaultPosition
,
34 const wxSize
& size
= wxDefaultSize
,
35 long style
= wxTAB_TRAVERSAL
| wxNO_BORDER
,
36 const wxString
& name
= wxPanelNameStr
)
38 Create(parent
, winid
, pos
, size
, style
, name
);
42 wxDECLARE_DYNAMIC_CLASS_NO_COPY(wxPanel
);
45 #endif // _WX_GENERIC_PANELG_H_