]>
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 | |
99d80019 | 7 | // Copyright: (c) Vadim Zeitlin |
65571936 | 8 | // Licence: wxWindows licence |
1e6feb95 VZ |
9 | /////////////////////////////////////////////////////////////////////////////// |
10 | ||
34138703 JS |
11 | #ifndef _WX_RADIOBUT_H_BASE_ |
12 | #define _WX_RADIOBUT_H_BASE_ | |
c801d85f | 13 | |
2ecf902b WS |
14 | #include "wx/defs.h" |
15 | ||
1e6feb95 VZ |
16 | #if wxUSE_RADIOBTN |
17 | ||
18 | /* | |
19 | There is no wxRadioButtonBase class as wxRadioButton interface is the same | |
65b17727 | 20 | as wxCheckBox(Base), but under some platforms wxRadioButton really |
1e6feb95 VZ |
21 | derives from wxCheckBox and on the others it doesn't. |
22 | ||
23 | The pseudo-declaration of wxRadioButtonBase would look like this: | |
24 | ||
25 | class wxRadioButtonBase : public ... | |
26 | { | |
27 | public: | |
28 | virtual void SetValue(bool value); | |
29 | virtual bool GetValue() const; | |
30 | }; | |
31 | */ | |
32 | ||
33 | #include "wx/control.h" | |
34 | ||
53a2db12 | 35 | extern WXDLLIMPEXP_DATA_CORE(const char) wxRadioButtonNameStr[]; |
1e6feb95 VZ |
36 | |
37 | #if defined(__WXUNIVERSAL__) | |
38 | #include "wx/univ/radiobut.h" | |
39 | #elif defined(__WXMSW__) | |
40 | #include "wx/msw/radiobut.h" | |
2049ba38 | 41 | #elif defined(__WXMOTIF__) |
1e6feb95 | 42 | #include "wx/motif/radiobut.h" |
1be7a35c | 43 | #elif defined(__WXGTK20__) |
1e6feb95 | 44 | #include "wx/gtk/radiobut.h" |
1be7a35c MR |
45 | #elif defined(__WXGTK__) |
46 | #include "wx/gtk1/radiobut.h" | |
34138703 | 47 | #elif defined(__WXMAC__) |
ef0e9220 | 48 | #include "wx/osx/radiobut.h" |
e64df9bc DE |
49 | #elif defined(__WXCOCOA__) |
50 | #include "wx/cocoa/radiobut.h" | |
1777b9bb | 51 | #elif defined(__WXPM__) |
1e6feb95 | 52 | #include "wx/os2/radiobut.h" |
c801d85f KB |
53 | #endif |
54 | ||
1e6feb95 VZ |
55 | #endif // wxUSE_RADIOBTN |
56 | ||
c801d85f | 57 | #endif |
34138703 | 58 | // _WX_RADIOBUT_H_BASE_ |