]> git.saurik.com Git - wxWidgets.git/blob - include/wx/generic/panelg.h
9376b27adf0cedfecf0ff1d8b15cd2f8a72dc6be
[wxWidgets.git] / include / wx / generic / panelg.h
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: wx/generic/panelg.h
3 // Purpose: wxPanel: a container for child controls
4 // Author: Julian Smart
5 // Modified by:
6 // Created: 01/02/97
7 // RCS-ID: $Id$
8 // Copyright: (c) Julian Smart
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
11
12 #ifndef _WX_GENERIC_PANELG_H_
13 #define _WX_GENERIC_PANELG_H_
14
15 class WXDLLIMPEXP_CORE wxPanel : public wxPanelBase
16 {
17 public:
18 wxPanel() { }
19
20 // Constructor
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)
27 {
28 Create(parent, winid, pos, size, style, name);
29 }
30
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)
37 {
38 Create(parent, wxID_ANY, wxPoint(x, y), wxSize(width, height), style, name);
39 }
40 )
41 #endif // WXWIN_COMPATIBILITY_2_8
42
43 private:
44 wxDECLARE_DYNAMIC_CLASS_NO_COPY(wxPanel);
45 };
46
47 #endif // _WX_GENERIC_PANELG_H_