#ifndef _WX_RADIOBUT_H_
#define _WX_RADIOBUT_H_
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
- #pragma interface "radiobut.h"
-#endif
-
-class WXDLLEXPORT wxRadioButton: public wxControl
+class WXDLLIMPEXP_CORE wxRadioButton: public wxControl
{
public:
// ctors and creation functions
// implementation only from now on
virtual void Command(wxCommandEvent& event);
+ void SetGroup(uint8_t group);
// send a notification event, return true if processed
bool SendClickEvent();
- virtual void ApplyParentThemeBackground(const wxColour& bg)
- { SetBackgroundColour(bg); }
-
-
protected:
virtual wxSize DoGetBestSize() const;
// common part of all ctors
void Init();
+ uint8_t m_groupID;
+
// pushButtonCtl or checkboxCtl
- ControlStyleType m_radioStyle;
+ int m_radioStyle;
DECLARE_DYNAMIC_CLASS_NO_COPY(wxRadioButton)
};