//---------------------------------------------------------------------------
%newgroup
+MustHaveApp(wxRadioBox);
+
class wxRadioBox : public wxControl
{
public:
%pythonAppend wxRadioBox "self._setOORInfo(self)"
%pythonAppend wxRadioBox() ""
- wxRadioBox(wxWindow* parent, wxWindowID id,
- const wxString& label,
+ wxRadioBox(wxWindow* parent, wxWindowID id=-1,
+ const wxString& label = wxPyEmptyString,
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
//int choices = 0, wxString* choices_array = NULL,
const wxString& name = wxPyRadioBoxNameStr);
%name(PreRadioBox)wxRadioBox();
- bool Create(wxWindow* parent, wxWindowID id,
- const wxString& label,
+ bool Create(wxWindow* parent, wxWindowID id=-1,
+ const wxString& label = wxPyEmptyString,
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
//int choices = 0, wxString* choices_array = NULL,
}
#endif
+ static wxVisualAttributes
+ GetClassDefaultAttributes(wxWindowVariant variant = wxWINDOW_VARIANT_NORMAL);
};
//---------------------------------------------------------------------------
%newgroup
+MustHaveApp(wxRadioButton);
+
class wxRadioButton : public wxControl
{
public:
%pythonAppend wxRadioButton "self._setOORInfo(self)"
%pythonAppend wxRadioButton() ""
- wxRadioButton(wxWindow* parent, wxWindowID id,
- const wxString& label,
+ wxRadioButton(wxWindow* parent, wxWindowID id=-1,
+ const wxString& label = wxPyEmptyString,
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
long style = 0,
const wxString& name = wxPyRadioButtonNameStr);
%name(PreRadioButton)wxRadioButton();
- bool Create(wxWindow* parent, wxWindowID id,
- const wxString& label,
+ bool Create(wxWindow* parent, wxWindowID id=-1,
+ const wxString& label = wxPyEmptyString,
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
long style = 0,
bool GetValue();
void SetValue(bool value);
+
+ static wxVisualAttributes
+ GetClassDefaultAttributes(wxWindowVariant variant = wxWINDOW_VARIANT_NORMAL);
};
//---------------------------------------------------------------------------