]>
git.saurik.com Git - wxWidgets.git/blob - include/wx/radiobut.h
1 ///////////////////////////////////////////////////////////////////////////////
3 // Purpose: wxRadioButton declaration
4 // Author: Vadim Zeitlin
8 // Copyright: (c) wxWindows team
9 // Licence: wxWindows licence
10 ///////////////////////////////////////////////////////////////////////////////
12 #ifndef _WX_RADIOBUT_H_BASE_
13 #define _WX_RADIOBUT_H_BASE_
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.
22 The pseudo-declaration of wxRadioButtonBase would look like this:
24 class wxRadioButtonBase : public ...
27 virtual void SetValue(bool value);
28 virtual bool GetValue() const;
32 #include "wx/control.h"
34 WXDLLEXPORT_DATA(extern const wxChar
*) wxRadioButtonNameStr
;
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"
52 #endif // wxUSE_RADIOBTN
55 // _WX_RADIOBUT_H_BASE_