]> git.saurik.com Git - wxWidgets.git/blame - include/wx/radiobut.h
GCC 4.0 (Apple 4059) is a little bit pickier than 3.3.
[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$
77ffb593 8// Copyright: (c) wxWidgets team
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
16cba29d 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"
2049ba38 44#elif defined(__WXGTK__)
1e6feb95 45 #include "wx/gtk/radiobut.h"
34138703 46#elif defined(__WXMAC__)
1e6feb95 47 #include "wx/mac/radiobut.h"
e64df9bc
DE
48#elif defined(__WXCOCOA__)
49 #include "wx/cocoa/radiobut.h"
1777b9bb 50#elif defined(__WXPM__)
1e6feb95 51 #include "wx/os2/radiobut.h"
808e3bce
WS
52#elif defined(__WXPALMOS__)
53 #include "wx/palmos/radiobut.h"
c801d85f
KB
54#endif
55
1e6feb95
VZ
56#endif // wxUSE_RADIOBTN
57
c801d85f 58#endif
34138703 59 // _WX_RADIOBUT_H_BASE_