]> git.saurik.com Git - wxWidgets.git/blame - include/wx/radiobut.h
- Modify #if to include wxCocoa as a platform using wxBitmapBase
[wxWidgets.git] / include / wx / radiobut.h
CommitLineData
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$
8// Copyright: (c) wxWindows team
371a5b4e 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
19 as of 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
34WXDLLEXPORT_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"
1777b9bb 46#elif defined(__WXPM__)
1e6feb95 47 #include "wx/os2/radiobut.h"
c801d85f
KB
48#endif
49
1e6feb95
VZ
50#endif // wxUSE_RADIOBTN
51
c801d85f 52#endif
34138703 53 // _WX_RADIOBUT_H_BASE_