~registry/dolphin-emu/triforce

« back to all changes in this revision

Viewing changes to Externals/wxWidgets3/include/wx/osx/statbox.h

  • Committer: Sérgio Benjamim
  • Date: 2015-02-13 05:54:40 UTC
  • Revision ID: sergio_br2@yahoo.com.br-20150213055440-ey2rt3sjpy27km78
Dolphin Triforce branch from code.google, commit b957980 (4.0-315).

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/////////////////////////////////////////////////////////////////////////////
 
2
// Name:        wx/osx/statbox.h
 
3
// Purpose:     wxStaticBox class
 
4
// Author:      Stefan Csomor
 
5
// Modified by:
 
6
// Created:     1998-01-01
 
7
// Copyright:   (c) Stefan Csomor
 
8
// Licence:     wxWindows licence
 
9
/////////////////////////////////////////////////////////////////////////////
 
10
 
 
11
#ifndef _WX_STATBOX_H_
 
12
#define _WX_STATBOX_H_
 
13
 
 
14
#include "wx/control.h"
 
15
 
 
16
// Group box
 
17
class WXDLLIMPEXP_CORE wxStaticBox: public wxControl
 
18
{
 
19
  DECLARE_DYNAMIC_CLASS(wxStaticBox)
 
20
 
 
21
 public:
 
22
    inline wxStaticBox() {}
 
23
    inline wxStaticBox(wxWindow *parent, wxWindowID id,
 
24
           const wxString& label,
 
25
           const wxPoint& pos = wxDefaultPosition,
 
26
           const wxSize& size = wxDefaultSize,
 
27
           long style = 0,
 
28
           const wxString& name = wxStaticBoxNameStr)
 
29
    {
 
30
        Create(parent, id, label, pos, size, style, name);
 
31
    }
 
32
 
 
33
    bool Create(wxWindow *parent, wxWindowID id,
 
34
           const wxString& label,
 
35
           const wxPoint& pos = wxDefaultPosition,
 
36
           const wxSize& size = wxDefaultSize,
 
37
           long style = 0,
 
38
           const wxString& name = wxStaticBoxNameStr);
 
39
 
 
40
    virtual void Command(wxCommandEvent& WXUNUSED(event)) {}
 
41
    virtual void ProcessCommand(wxCommandEvent& WXUNUSED(event)) {}
 
42
 
 
43
    virtual void GetBordersForSizer(int *borderTop, int *borderOther) const;
 
44
 
 
45
    virtual bool AcceptsFocus() const { return false; }
 
46
 
 
47
    // protect native font of box
 
48
    virtual bool SetFont( const wxFont &font );
 
49
};
 
50
 
 
51
#endif
 
52
    // _WX_STATBOX_H_