#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:
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);
}
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,
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;