]> git.saurik.com Git - wxWidgets.git/blob - include/wx/radiobut.h
Never refresh controls from EVT_PAINT handler in wxPropertyGrid.
[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) Vadim Zeitlin
9 // Licence: wxWindows licence
10 ///////////////////////////////////////////////////////////////////////////////
11
12 #ifndef _WX_RADIOBUT_H_BASE_
13 #define _WX_RADIOBUT_H_BASE_
14
15 #include "wx/defs.h"
16
17 #if wxUSE_RADIOBTN
18
19 /*
20 There is no wxRadioButtonBase class as wxRadioButton interface is the same
21 as wxCheckBox(Base), but under some platforms wxRadioButton really
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
36 extern WXDLLIMPEXP_DATA_CORE(const char) wxRadioButtonNameStr[];
37
38 #if defined(__WXUNIVERSAL__)
39 #include "wx/univ/radiobut.h"
40 #elif defined(__WXMSW__)
41 #include "wx/msw/radiobut.h"
42 #elif defined(__WXMOTIF__)
43 #include "wx/motif/radiobut.h"
44 #elif defined(__WXGTK20__)
45 #include "wx/gtk/radiobut.h"
46 #elif defined(__WXGTK__)
47 #include "wx/gtk1/radiobut.h"
48 #elif defined(__WXMAC__)
49 #include "wx/osx/radiobut.h"
50 #elif defined(__WXCOCOA__)
51 #include "wx/cocoa/radiobut.h"
52 #elif defined(__WXPM__)
53 #include "wx/os2/radiobut.h"
54 #endif
55
56 #endif // wxUSE_RADIOBTN
57
58 #endif
59 // _WX_RADIOBUT_H_BASE_