]>
git.saurik.com Git - wxWidgets.git/blob - include/wx/univ/panel.h
5217bcbcd891342bcd2c5df7fa17efb36be14e36
1 ///////////////////////////////////////////////////////////////////////////////
2 // Name: wx/univ/panel.h
3 // Purpose: wxUniversal-specific wxPanel class.
4 // Author: Vadim Zeitlin
6 // RCS-ID: $Id: wxhead.h,v 1.12 2010-04-22 12:44:51 zeitlin Exp $
7 // Copyright: (c) 2011 Vadim Zeitlin <vadim@wxwidgets.org>
8 // Licence: wxWindows licence
9 ///////////////////////////////////////////////////////////////////////////////
11 #ifndef _WX_UNIV_PANEL_H_
12 #define _WX_UNIV_PANEL_H_
14 // ----------------------------------------------------------------------------
16 // ----------------------------------------------------------------------------
18 class WXDLLIMPEXP_CORE wxPanel
: public wxPanelBase
23 wxPanel(wxWindow
*parent
,
24 int x
, int y
, int width
, int height
,
25 long style
= wxTAB_TRAVERSAL
| wxNO_BORDER
,
26 const wxString
& name
= wxPanelNameStr
)
28 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
);
41 virtual bool IsCanvasWindow() const { return true; }
44 wxDECLARE_DYNAMIC_CLASS_NO_COPY(wxPanel
);
47 #endif // _WX_UNIV_PANEL_H_