// Author: David Elliott
// Modified by:
// Created: 2003/03/18
-// RCS-ID: $Id:
+// RCS-ID: $Id$
// Copyright: (c) 2003 David Elliott
-// Licence: wxWindows license
+// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#ifndef __WX_COCOA_RADIOBUT_H__
#include "wx/cocoa/NSButton.h"
+class WXDLLEXPORT wxRadioButton;
+
+WX_DECLARE_LIST(wxRadioButton, wxRadioButtonList);
+
// ========================================================================
// wxRadioButton
// ========================================================================
// initialization
// ------------------------------------------------------------------------
public:
- wxRadioButton() { }
+ wxRadioButton() { m_radioMaster = NULL; }
wxRadioButton(wxWindow *parent, wxWindowID winid,
const wxString& label,
const wxPoint& pos = wxDefaultPosition,
public:
virtual void SetValue(bool);
virtual bool GetValue() const;
+protected:
+ wxRadioButtonList m_radioSlaves;
+ wxRadioButton *m_radioMaster;
};
#endif // __WX_COCOA_RADIOBUT_H__