]> git.saurik.com Git - wxWidgets.git/blame - include/wx/generic/panelg.h
Use wxGetTranslation() instead of _() in the public headers.
[wxWidgets.git] / include / wx / generic / panelg.h
CommitLineData
c801d85f 1/////////////////////////////////////////////////////////////////////////////
f6bcfd97
BP
2// Name: wx/generic/panelg.h
3// Purpose: wxPanel: a container for child controls
c801d85f
KB
4// Author: Julian Smart
5// Modified by:
6// Created: 01/02/97
99d80019 7// Copyright: (c) Julian Smart
65571936 8// Licence: wxWindows licence
c801d85f
KB
9/////////////////////////////////////////////////////////////////////////////
10
5b87bd6c
VZ
11#ifndef _WX_GENERIC_PANELG_H_
12#define _WX_GENERIC_PANELG_H_
c801d85f 13
cd95f7e6
VZ
14#include "wx/bitmap.h"
15
5b87bd6c 16class WXDLLIMPEXP_CORE wxPanel : public wxPanelBase
c801d85f 17{
c801d85f 18public:
5b87bd6c 19 wxPanel() { }
27dc7e21 20
cf858bab 21 // Constructor
341c92a8 22 wxPanel(wxWindow *parent,
cf858bab
VZ
23 wxWindowID winid = wxID_ANY,
24 const wxPoint& pos = wxDefaultPosition,
25 const wxSize& size = wxDefaultSize,
341c92a8
VZ
26 long style = wxTAB_TRAVERSAL | wxNO_BORDER,
27 const wxString& name = wxPanelNameStr)
28 {
cf858bab 29 Create(parent, winid, pos, size, style, name);
341c92a8 30 }
27dc7e21 31
7bc57fd9 32#if WXWIN_COMPATIBILITY_2_8
cf858bab 33 wxDEPRECATED_CONSTRUCTOR(
341c92a8 34 wxPanel(wxWindow *parent,
cf858bab 35 int x, int y, int width, int height,
341c92a8
VZ
36 long style = wxTAB_TRAVERSAL | wxNO_BORDER,
37 const wxString& name = wxPanelNameStr)
38 {
cf858bab 39 Create(parent, wxID_ANY, wxPoint(x, y), wxSize(width, height), style, name);
341c92a8 40 }
cf858bab
VZ
41 )
42#endif // WXWIN_COMPATIBILITY_2_8
c801d85f 43
ebfee179 44private:
5b87bd6c 45 wxDECLARE_DYNAMIC_CLASS_NO_COPY(wxPanel);
c801d85f
KB
46};
47
5b87bd6c 48#endif // _WX_GENERIC_PANELG_H_