]> git.saurik.com Git - wxWidgets.git/blame - include/wx/mac/carbon/statbox.h
correct access for virtuals
[wxWidgets.git] / include / wx / mac / carbon / statbox.h
CommitLineData
8cf73271
SC
1/////////////////////////////////////////////////////////////////////////////
2// Name: statbox.h
3// Purpose: wxStaticBox class
4// Author: Stefan Csomor
5// Modified by:
6// Created: 1998-01-01
7// RCS-ID: $Id$
8// Copyright: (c) Stefan Csomor
65571936 9// Licence: wxWindows licence
8cf73271
SC
10/////////////////////////////////////////////////////////////////////////////
11
12#ifndef _WX_STATBOX_H_
13#define _WX_STATBOX_H_
14
8cf73271
SC
15#include "wx/control.h"
16
63ec432b 17WXDLLEXPORT_DATA(extern const wxChar) wxStaticBoxNameStr[];
8cf73271
SC
18
19// Group box
20class WXDLLEXPORT wxStaticBox: public wxControl
21{
22 DECLARE_DYNAMIC_CLASS(wxStaticBox)
23
24 public:
4f305456
SC
25 inline wxStaticBox() {}
26 inline wxStaticBox(wxWindow *parent, wxWindowID id,
8cf73271
SC
27 const wxString& label,
28 const wxPoint& pos = wxDefaultPosition,
29 const wxSize& size = wxDefaultSize,
30 long style = 0,
31 const wxString& name = wxStaticBoxNameStr)
4f305456
SC
32 {
33 Create(parent, id, label, pos, size, style, name);
34 }
8cf73271 35
4f305456 36 bool Create(wxWindow *parent, wxWindowID id,
8cf73271
SC
37 const wxString& label,
38 const wxPoint& pos = wxDefaultPosition,
39 const wxSize& size = wxDefaultSize,
40 long style = 0,
41 const wxString& name = wxStaticBoxNameStr);
42
4f305456
SC
43 virtual void Command(wxCommandEvent& WXUNUSED(event)) {};
44 virtual void ProcessCommand(wxCommandEvent& WXUNUSED(event)) {};
8cf73271 45
5dd070c2 46 virtual void GetBordersForSizer(int *borderTop, int *borderOther) const;
8cf73271
SC
47};
48
49#endif
50 // _WX_STATBOX_H_