]>
Commit | Line | Data |
---|---|---|
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 | |
1e6feb95 VZ |
15 | #if wxUSE_RADIOBTN |
16 | ||
17 | /* | |
18 | There is no wxRadioButtonBase class as wxRadioButton interface is the same | |
65b17727 | 19 | as wxCheckBox(Base), but under some platforms wxRadioButton really |
1e6feb95 VZ |
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" | |
2049ba38 | 40 | #elif defined(__WXMOTIF__) |
1e6feb95 | 41 | #include "wx/motif/radiobut.h" |
2049ba38 | 42 | #elif defined(__WXGTK__) |
1e6feb95 | 43 | #include "wx/gtk/radiobut.h" |
34138703 | 44 | #elif defined(__WXMAC__) |
1e6feb95 | 45 | #include "wx/mac/radiobut.h" |
e64df9bc DE |
46 | #elif defined(__WXCOCOA__) |
47 | #include "wx/cocoa/radiobut.h" | |
1777b9bb | 48 | #elif defined(__WXPM__) |
1e6feb95 | 49 | #include "wx/os2/radiobut.h" |
c801d85f KB |
50 | #endif |
51 | ||
1e6feb95 VZ |
52 | #endif // wxUSE_RADIOBTN |
53 | ||
c801d85f | 54 | #endif |
34138703 | 55 | // _WX_RADIOBUT_H_BASE_ |