2001-06-26 20:59:19 +00:00
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
// Name: wx/radiobut.h
|
|
|
|
// Purpose: wxRadioButton declaration
|
|
|
|
// Author: Vadim Zeitlin
|
|
|
|
// Modified by:
|
|
|
|
// Created: 07.09.00
|
2005-05-04 18:57:50 +00:00
|
|
|
// Copyright: (c) Vadim Zeitlin
|
2004-05-23 20:53:33 +00:00
|
|
|
// Licence: wxWindows licence
|
2001-06-26 20:59:19 +00:00
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
1998-08-15 00:23:28 +00:00
|
|
|
#ifndef _WX_RADIOBUT_H_BASE_
|
|
|
|
#define _WX_RADIOBUT_H_BASE_
|
1998-05-20 14:01:55 +00:00
|
|
|
|
2005-03-16 16:18:31 +00:00
|
|
|
#include "wx/defs.h"
|
|
|
|
|
2001-06-26 20:59:19 +00:00
|
|
|
#if wxUSE_RADIOBTN
|
|
|
|
|
|
|
|
/*
|
|
|
|
There is no wxRadioButtonBase class as wxRadioButton interface is the same
|
2003-06-30 13:11:51 +00:00
|
|
|
as wxCheckBox(Base), but under some platforms wxRadioButton really
|
2001-06-26 20:59:19 +00:00
|
|
|
derives from wxCheckBox and on the others it doesn't.
|
|
|
|
|
|
|
|
The pseudo-declaration of wxRadioButtonBase would look like this:
|
|
|
|
|
|
|
|
class wxRadioButtonBase : public ...
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
virtual void SetValue(bool value);
|
|
|
|
virtual bool GetValue() const;
|
|
|
|
};
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include "wx/control.h"
|
|
|
|
|
2008-03-26 15:06:00 +00:00
|
|
|
extern WXDLLIMPEXP_DATA_CORE(const char) wxRadioButtonNameStr[];
|
2001-06-26 20:59:19 +00:00
|
|
|
|
|
|
|
#if defined(__WXUNIVERSAL__)
|
|
|
|
#include "wx/univ/radiobut.h"
|
|
|
|
#elif defined(__WXMSW__)
|
|
|
|
#include "wx/msw/radiobut.h"
|
1998-07-10 14:15:17 +00:00
|
|
|
#elif defined(__WXMOTIF__)
|
2001-06-26 20:59:19 +00:00
|
|
|
#include "wx/motif/radiobut.h"
|
2006-01-23 03:27:34 +00:00
|
|
|
#elif defined(__WXGTK20__)
|
2001-06-26 20:59:19 +00:00
|
|
|
#include "wx/gtk/radiobut.h"
|
2006-01-23 03:27:34 +00:00
|
|
|
#elif defined(__WXGTK__)
|
|
|
|
#include "wx/gtk1/radiobut.h"
|
1998-08-15 00:23:28 +00:00
|
|
|
#elif defined(__WXMAC__)
|
2008-06-11 19:17:41 +00:00
|
|
|
#include "wx/osx/radiobut.h"
|
2003-03-22 06:18:36 +00:00
|
|
|
#elif defined(__WXCOCOA__)
|
|
|
|
#include "wx/cocoa/radiobut.h"
|
1998-05-20 14:01:55 +00:00
|
|
|
#endif
|
|
|
|
|
2001-06-26 20:59:19 +00:00
|
|
|
#endif // wxUSE_RADIOBTN
|
|
|
|
|
1998-05-20 14:01:55 +00:00
|
|
|
#endif
|
1998-08-15 00:23:28 +00:00
|
|
|
// _WX_RADIOBUT_H_BASE_
|