]> git.saurik.com Git - wxWidgets.git/blame - include/wx/osx/statbox.h
adding hour constant to carbon build
[wxWidgets.git] / include / wx / osx / statbox.h
CommitLineData
6762286d
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
9// Licence: wxWindows licence
10/////////////////////////////////////////////////////////////////////////////
11
12#ifndef _WX_STATBOX_H_
13#define _WX_STATBOX_H_
14
15#include "wx/control.h"
16
6762286d
SC
17// Group box
18class WXDLLIMPEXP_CORE wxStaticBox: public wxControl
19{
20 DECLARE_DYNAMIC_CLASS(wxStaticBox)
21
22 public:
23 inline wxStaticBox() {}
24 inline wxStaticBox(wxWindow *parent, wxWindowID id,
25 const wxString& label,
26 const wxPoint& pos = wxDefaultPosition,
27 const wxSize& size = wxDefaultSize,
28 long style = 0,
29 const wxString& name = wxStaticBoxNameStr)
30 {
31 Create(parent, id, label, pos, size, style, name);
32 }
33
34 bool Create(wxWindow *parent, wxWindowID id,
35 const wxString& label,
36 const wxPoint& pos = wxDefaultPosition,
37 const wxSize& size = wxDefaultSize,
38 long style = 0,
39 const wxString& name = wxStaticBoxNameStr);
40
41 virtual void Command(wxCommandEvent& WXUNUSED(event)) {};
42 virtual void ProcessCommand(wxCommandEvent& WXUNUSED(event)) {};
43
44 virtual void GetBordersForSizer(int *borderTop, int *borderOther) const;
03647350 45
6762286d
SC
46 virtual bool AcceptsFocus() const { return false; }
47
48 // protect native font of box
49 virtual bool SetFont( const wxFont &font );
50};
51
5c6eb3a8 52#endif
6762286d 53 // _WX_STATBOX_H_