]> git.saurik.com Git - wxWidgets.git/blame - include/wx/radiobut.h
Fixed context menu in wxRichTextCtrl
[wxWidgets.git] / include / wx / radiobut.h
CommitLineData
1e6feb95
VZ
1///////////////////////////////////////////////////////////////////////////////
2// Name: wx/radiobut.h
3// Purpose: wxRadioButton declaration
4// Author: Vadim Zeitlin
5// Modified by:
6// Created: 07.09.00
7// RCS-ID: $Id$
99d80019 8// Copyright: (c) Vadim Zeitlin
65571936 9// Licence: wxWindows licence
1e6feb95
VZ
10///////////////////////////////////////////////////////////////////////////////
11
34138703
JS
12#ifndef _WX_RADIOBUT_H_BASE_
13#define _WX_RADIOBUT_H_BASE_
c801d85f 14
2ecf902b
WS
15#include "wx/defs.h"
16
1e6feb95
VZ
17#if wxUSE_RADIOBTN
18
19/*
20 There is no wxRadioButtonBase class as wxRadioButton interface is the same
65b17727 21 as wxCheckBox(Base), but under some platforms wxRadioButton really
1e6feb95
VZ
22 derives from wxCheckBox and on the others it doesn't.
23
24 The pseudo-declaration of wxRadioButtonBase would look like this:
25
26 class wxRadioButtonBase : public ...
27 {
28 public:
29 virtual void SetValue(bool value);
30 virtual bool GetValue() const;
31 };
32 */
33
34#include "wx/control.h"
35
63ec432b 36extern WXDLLEXPORT_DATA(const wxChar) wxRadioButtonNameStr[];
1e6feb95
VZ
37
38#if defined(__WXUNIVERSAL__)
39 #include "wx/univ/radiobut.h"
40#elif defined(__WXMSW__)
41 #include "wx/msw/radiobut.h"
2049ba38 42#elif defined(__WXMOTIF__)
1e6feb95 43 #include "wx/motif/radiobut.h"
1be7a35c 44#elif defined(__WXGTK20__)
1e6feb95 45 #include "wx/gtk/radiobut.h"
1be7a35c
MR
46#elif defined(__WXGTK__)
47 #include "wx/gtk1/radiobut.h"
34138703 48#elif defined(__WXMAC__)
1e6feb95 49 #include "wx/mac/radiobut.h"
e64df9bc
DE
50#elif defined(__WXCOCOA__)
51 #include "wx/cocoa/radiobut.h"
1777b9bb 52#elif defined(__WXPM__)
1e6feb95 53 #include "wx/os2/radiobut.h"
808e3bce
WS
54#elif defined(__WXPALMOS__)
55 #include "wx/palmos/radiobut.h"
c801d85f
KB
56#endif
57
1e6feb95
VZ
58#endif // wxUSE_RADIOBTN
59
c801d85f 60#endif
34138703 61 // _WX_RADIOBUT_H_BASE_