2001-06-26 16:59:19 -04:00
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
// Name: wx/radiobut.h
|
|
|
|
// Purpose: wxRadioButton declaration
|
|
|
|
// Author: Vadim Zeitlin
|
|
|
|
// Modified by:
|
|
|
|
// Created: 07.09.00
|
|
|
|
// RCS-ID: $Id$
|
2004-05-23 10:56:36 -04:00
|
|
|
// Copyright: (c) wxWidgets team
|
2004-05-23 16:53:33 -04:00
|
|
|
// Licence: wxWindows licence
|
2001-06-26 16:59:19 -04:00
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
1998-08-14 20:23:28 -04:00
|
|
|
#ifndef _WX_RADIOBUT_H_BASE_
|
|
|
|
#define _WX_RADIOBUT_H_BASE_
|
1998-05-20 10:01:55 -04:00
|
|
|
|
2005-03-16 11:18:31 -05:00
|
|
|
#include "wx/defs.h"
|
|
|
|
|
2001-06-26 16:59:19 -04:00
|
|
|
#if wxUSE_RADIOBTN
|
|
|
|
|
|
|
|
/*
|
|
|
|
There is no wxRadioButtonBase class as wxRadioButton interface is the same
|
2003-06-30 09:11:51 -04:00
|
|
|
as wxCheckBox(Base), but under some platforms wxRadioButton really
|
2001-06-26 16:59:19 -04: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"
|
|
|
|
|
2005-01-21 13:48:22 -05:00
|
|
|
extern WXDLLEXPORT_DATA(const wxChar*) wxRadioButtonNameStr;
|
2001-06-26 16:59:19 -04:00
|
|
|
|
|
|
|
#if defined(__WXUNIVERSAL__)
|
|
|
|
#include "wx/univ/radiobut.h"
|
|
|
|
#elif defined(__WXMSW__)
|
|
|
|
#include "wx/msw/radiobut.h"
|
1998-07-10 10:15:17 -04:00
|
|
|
#elif defined(__WXMOTIF__)
|
2001-06-26 16:59:19 -04:00
|
|
|
#include "wx/motif/radiobut.h"
|
1998-07-10 10:15:17 -04:00
|
|
|
#elif defined(__WXGTK__)
|
2001-06-26 16:59:19 -04:00
|
|
|
#include "wx/gtk/radiobut.h"
|
1998-08-14 20:23:28 -04:00
|
|
|
#elif defined(__WXMAC__)
|
2001-06-26 16:59:19 -04:00
|
|
|
#include "wx/mac/radiobut.h"
|
2003-03-22 01:18:36 -05:00
|
|
|
#elif defined(__WXCOCOA__)
|
|
|
|
#include "wx/cocoa/radiobut.h"
|
1999-07-27 23:38:12 -04:00
|
|
|
#elif defined(__WXPM__)
|
2001-06-26 16:59:19 -04:00
|
|
|
#include "wx/os2/radiobut.h"
|
2005-01-28 05:58:13 -05:00
|
|
|
#elif defined(__WXPALMOS__)
|
|
|
|
#include "wx/palmos/radiobut.h"
|
1998-05-20 10:01:55 -04:00
|
|
|
#endif
|
|
|
|
|
2001-06-26 16:59:19 -04:00
|
|
|
#endif // wxUSE_RADIOBTN
|
|
|
|
|
1998-05-20 10:01:55 -04:00
|
|
|
#endif
|
1998-08-14 20:23:28 -04:00
|
|
|
// _WX_RADIOBUT_H_BASE_
|