1998-05-20 14:01:55 +00:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
2000-07-15 19:51:35 +00:00
|
|
|
// Name: wx/generic/panelg.h
|
|
|
|
// Purpose: wxPanel: a container for child controls
|
1998-05-20 14:01:55 +00:00
|
|
|
// Author: Julian Smart
|
|
|
|
// Modified by:
|
|
|
|
// Created: 01/02/97
|
|
|
|
// RCS-ID: $Id$
|
2005-05-04 18:57:50 +00:00
|
|
|
// Copyright: (c) Julian Smart
|
2004-05-23 20:53:33 +00:00
|
|
|
// Licence: wxWindows licence
|
1998-05-20 14:01:55 +00:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
2011-03-20 00:00:38 +00:00
|
|
|
#ifndef _WX_GENERIC_PANELG_H_
|
|
|
|
#define _WX_GENERIC_PANELG_H_
|
1998-05-20 14:01:55 +00:00
|
|
|
|
2011-03-20 00:00:49 +00:00
|
|
|
#include "wx/bitmap.h"
|
|
|
|
|
2011-03-20 00:00:38 +00:00
|
|
|
class WXDLLIMPEXP_CORE wxPanel : public wxPanelBase
|
1998-05-20 14:01:55 +00:00
|
|
|
{
|
|
|
|
public:
|
2011-03-20 00:00:38 +00:00
|
|
|
wxPanel() { }
|
1999-10-20 04:57:45 +00:00
|
|
|
|
2011-03-20 00:00:42 +00:00
|
|
|
// Constructor
|
1999-02-04 23:21:27 +00:00
|
|
|
wxPanel(wxWindow *parent,
|
2011-03-20 00:00:42 +00:00
|
|
|
wxWindowID winid = wxID_ANY,
|
|
|
|
const wxPoint& pos = wxDefaultPosition,
|
|
|
|
const wxSize& size = wxDefaultSize,
|
1999-02-04 23:21:27 +00:00
|
|
|
long style = wxTAB_TRAVERSAL | wxNO_BORDER,
|
|
|
|
const wxString& name = wxPanelNameStr)
|
|
|
|
{
|
2011-03-20 00:00:42 +00:00
|
|
|
Create(parent, winid, pos, size, style, name);
|
1999-02-04 23:21:27 +00:00
|
|
|
}
|
1999-10-20 04:57:45 +00:00
|
|
|
|
2011-12-23 05:59:59 +00:00
|
|
|
#if WXWIN_COMPATIBILITY_2_8
|
2011-03-20 00:00:42 +00:00
|
|
|
wxDEPRECATED_CONSTRUCTOR(
|
1999-02-04 23:21:27 +00:00
|
|
|
wxPanel(wxWindow *parent,
|
2011-03-20 00:00:42 +00:00
|
|
|
int x, int y, int width, int height,
|
1999-02-04 23:21:27 +00:00
|
|
|
long style = wxTAB_TRAVERSAL | wxNO_BORDER,
|
|
|
|
const wxString& name = wxPanelNameStr)
|
|
|
|
{
|
2011-03-20 00:00:42 +00:00
|
|
|
Create(parent, wxID_ANY, wxPoint(x, y), wxSize(width, height), style, name);
|
1999-02-04 23:21:27 +00:00
|
|
|
}
|
2011-03-20 00:00:42 +00:00
|
|
|
)
|
|
|
|
#endif // WXWIN_COMPATIBILITY_2_8
|
1998-05-20 14:01:55 +00:00
|
|
|
|
2010-05-21 12:51:20 +00:00
|
|
|
private:
|
2011-03-20 00:00:38 +00:00
|
|
|
wxDECLARE_DYNAMIC_CLASS_NO_COPY(wxPanel);
|
1998-05-20 14:01:55 +00:00
|
|
|
};
|
|
|
|
|
2011-03-20 00:00:38 +00:00
|
|
|
#endif // _WX_GENERIC_PANELG_H_
|