#ifndef _WX_UNIV_RADIOBUT_H_
#define _WX_UNIV_RADIOBUT_H_
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
- #pragma interface "univradiobut.h"
-#endif
-
#include "wx/checkbox.h"
// ----------------------------------------------------------------------------
{
public:
// constructors
- wxRadioButton();
+ wxRadioButton() { Init(); }
wxRadioButton(wxWindow *parent,
wxWindowID id,
const wxSize& size = wxDefaultSize,
long style = 0,
const wxValidator& validator = wxDefaultValidator,
- const wxString& name = wxRadioButtonNameStr);
+ const wxString& name = wxRadioButtonNameStr)
+ {
+ Init();
+
+ Create(parent, id, label, pos, size, style, validator, name);
+ }
bool Create(wxWindow *parent,
wxWindowID id,
virtual void ChangeValue(bool value);
protected:
+ virtual wxBorder GetDefaultBorder() const { return wxBORDER_NONE; }
+
// implement our own drawing
virtual void DoDraw(wxControlRenderer *renderer);