]> git.saurik.com Git - wxWidgets.git/blob - include/wx/radiobut.h
Wrappers for *ToText
[wxWidgets.git] / include / wx / radiobut.h
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$
8 // Copyright: (c) wxWidgets team
9 // Licence: wxWindows licence
10 ///////////////////////////////////////////////////////////////////////////////
11
12 #ifndef _WX_RADIOBUT_H_BASE_
13 #define _WX_RADIOBUT_H_BASE_
14
15 #if wxUSE_RADIOBTN
16
17 /*
18 There is no wxRadioButtonBase class as wxRadioButton interface is the same
19 as wxCheckBox(Base), but under some platforms wxRadioButton really
20 derives from wxCheckBox and on the others it doesn't.
21
22 The pseudo-declaration of wxRadioButtonBase would look like this:
23
24 class wxRadioButtonBase : public ...
25 {
26 public:
27 virtual void SetValue(bool value);
28 virtual bool GetValue() const;
29 };
30 */
31
32 #include "wx/control.h"
33
34 WXDLLEXPORT_DATA(extern const wxChar*) wxRadioButtonNameStr;
35
36 #if defined(__WXUNIVERSAL__)
37 #include "wx/univ/radiobut.h"
38 #elif defined(__WXMSW__)
39 #include "wx/msw/radiobut.h"
40 #elif defined(__WXMOTIF__)
41 #include "wx/motif/radiobut.h"
42 #elif defined(__WXGTK__)
43 #include "wx/gtk/radiobut.h"
44 #elif defined(__WXMAC__)
45 #include "wx/mac/radiobut.h"
46 #elif defined(__WXCOCOA__)
47 #include "wx/cocoa/radiobut.h"
48 #elif defined(__WXPM__)
49 #include "wx/os2/radiobut.h"
50 #endif
51
52 #endif // wxUSE_RADIOBTN
53
54 #endif
55 // _WX_RADIOBUT_H_BASE_