~brian-sidebotham/wxwidgets-cmake/wxpython-2.9.4

« back to all changes in this revision

Viewing changes to include/wx/generic/panelg.h

  • Committer: Brian Sidebotham
  • Date: 2013-08-03 14:30:08 UTC
  • Revision ID: brian.sidebotham@gmail.com-20130803143008-c7806tkych1tp6fc
Initial import into Bazaar

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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: panelg.h 70098 2011-12-23 05:59:59Z PC $
 
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
#include "wx/bitmap.h"
 
16
 
 
17
class WXDLLIMPEXP_CORE wxPanel : public wxPanelBase
 
18
{
 
19
public:
 
20
    wxPanel() { }
 
21
 
 
22
    // Constructor
 
23
    wxPanel(wxWindow *parent,
 
24
            wxWindowID winid = wxID_ANY,
 
25
            const wxPoint& pos = wxDefaultPosition,
 
26
            const wxSize& size = wxDefaultSize,
 
27
            long style = wxTAB_TRAVERSAL | wxNO_BORDER,
 
28
            const wxString& name = wxPanelNameStr)
 
29
    {
 
30
        Create(parent, winid, pos, size, style, name);
 
31
    }
 
32
 
 
33
#if WXWIN_COMPATIBILITY_2_8
 
34
    wxDEPRECATED_CONSTRUCTOR(
 
35
    wxPanel(wxWindow *parent,
 
36
            int x, int y, int width, int height,
 
37
            long style = wxTAB_TRAVERSAL | wxNO_BORDER,
 
38
            const wxString& name = wxPanelNameStr)
 
39
    {
 
40
        Create(parent, wxID_ANY, wxPoint(x, y), wxSize(width, height), style, name);
 
41
    }
 
42
    )
 
43
#endif // WXWIN_COMPATIBILITY_2_8
 
44
 
 
45
private:
 
46
    wxDECLARE_DYNAMIC_CLASS_NO_COPY(wxPanel);
 
47
};
 
48
 
 
49
#endif // _WX_GENERIC_PANELG_H_