X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/debe6624c1e9d4bf3243381153d1e173c849bcd8..c86f1403c3737c07d58676a203f4707942684a01:/include/wx/gtk1/radiobox.h diff --git a/include/wx/gtk1/radiobox.h b/include/wx/gtk1/radiobox.h index f648659e65..1477aaadd2 100644 --- a/include/wx/gtk1/radiobox.h +++ b/include/wx/gtk1/radiobox.h @@ -46,16 +46,21 @@ class wxRadioBox: public wxControl public: wxRadioBox(void); - wxRadioBox( wxWindow *parent, wxWindowID id, const wxString& title, - const wxPoint &pos = wxDefaultPosition, const wxSize &size = wxDefaultSize, - int n = 0, const wxString choices[] = NULL, - int majorDim = 0, long style = wxRA_HORIZONTAL, - const wxString &name = wxRadioBoxNameStr ); + inline wxRadioBox( wxWindow *parent, wxWindowID id, const wxString& title, + const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, + int n = 0, const wxString choices[] = NULL, + int majorDim = 0, long style = wxRA_HORIZONTAL, + const wxValidator& val = wxDefaultValidator, + const wxString& name = wxRadioBoxNameStr ) + { + Create( parent, id, title, pos, size, n, choices, majorDim, style, val, name ); + } bool Create( wxWindow *parent, wxWindowID id, const wxString& title, - const wxPoint &pos = wxDefaultPosition, const wxSize &size = wxDefaultSize, - int n = 0, const wxString choices[] = NULL, - int majorDim = 0, long style = wxRA_HORIZONTAL, - const wxString &name = wxRadioBoxNameStr ); + const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, + int n = 0, const wxString choices[] = NULL, + int majorDim = 0, long style = wxRA_HORIZONTAL, + const wxValidator& val = wxDefaultValidator, + const wxString& name = wxRadioBoxNameStr ); int FindString( const wxString& s) const; void SetSelection( int n ); int GetSelection(void) const; @@ -79,6 +84,9 @@ class wxRadioBox: public wxControl GtkRadioButton *m_radio; + public: + + bool m_alreadySent; }; #endif // __GTKRADIOBOXH__