X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/11e59d47c05f2303ccfc07625b726ac7cb821881..61b50a43aaaf29fe9c2f848958adafc496439123:/include/wx/os2/radiobox.h diff --git a/include/wx/os2/radiobox.h b/include/wx/os2/radiobox.h index 576e12b114..e664ccf7bf 100644 --- a/include/wx/os2/radiobox.h +++ b/include/wx/os2/radiobox.h @@ -12,14 +12,12 @@ #ifndef _WX_RADIOBOX_H_ #define _WX_RADIOBOX_H_ -#include "wx/control.h" - WXDLLEXPORT_DATA(extern const char*) wxRadioBoxNameStr; // List box item class WXDLLEXPORT wxBitmap ; -class WXDLLEXPORT wxRadioBox: public wxControl +class WXDLLEXPORT wxRadioBox: public wxControl, public wxRadioBoxBase { DECLARE_DYNAMIC_CLASS(wxRadioBox) public: @@ -29,7 +27,9 @@ public: const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, int n = 0, const wxString choices[] = NULL, int majorDim = 0, long style = wxRA_HORIZONTAL, +#if wxUSE_VALIDATORS const wxValidator& val = wxDefaultValidator, const wxString& name = wxRadioBoxNameStr) +#endif { Create(parent, id, title, pos, size, n, choices, majorDim, style, val, name); } @@ -40,7 +40,9 @@ public: const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, int n = 0, const wxString choices[] = NULL, int majorDim = 0, long style = wxRA_HORIZONTAL, +#if wxUSE_VALIDATORS const wxValidator& val = wxDefaultValidator, const wxString& name = wxRadioBoxNameStr); +#endif virtual bool OS2Command(WXUINT param, WXWORD id); virtual WXHBRUSH OnCtlColor(WXHDC pDC, WXHWND pWnd, WXUINT nCtlColor, @@ -49,7 +51,11 @@ public: int FindString(const wxString& s) const; void SetSelection(int N); int GetSelection() const; + virtual int GetCount() const; wxString GetString(int N) const; + virtual void SetString(int n, const wxString& label); + virtual int GetColumnCount() const; + virtual int GetRowCount() const; void GetSize(int *x, int *y) const; void GetPosition(int *x, int *y) const;