#define _WX_RADIOBOX_H_
// List box item
-class WXDLLEXPORT wxBitmap ;
+class WXDLLIMPEXP_FWD_CORE wxBitmap ;
-class WXDLLEXPORT wxRadioButton ;
+class WXDLLIMPEXP_FWD_CORE wxRadioButton ;
class WXDLLEXPORT wxRadioBox: public wxControl, public wxRadioBoxBase
{
Create(parent, id, title, pos, size, choices,
majorDim, style, val, name);
}
- ~wxRadioBox();
+ virtual ~wxRadioBox();
bool Create(wxWindow *parent, wxWindowID id, const wxString& title,
const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize,
int n = 0, const wxString choices[] = NULL,
const wxValidator& val = wxDefaultValidator,
const wxString& name = wxRadioBoxNameStr);
-// Specific functions (in wxWidgets2 reference)
+ // Enabling
+ virtual bool Enable(bool enable = true);
+ virtual bool Enable(unsigned int item, bool enable = true);
+ virtual bool IsItemEnabled(unsigned int item) const;
+
+ // Showing
+ virtual bool Show(bool show = true);
+ virtual bool Show(unsigned int item, bool show = true);
+ virtual bool IsItemShown(unsigned int item) const;
+
+ // Specific functions (in wxWidgets2 reference)
virtual void SetSelection(int item);
virtual int GetSelection() const;
virtual wxString GetString(unsigned int item) const;
virtual void SetString(unsigned int item, const wxString& label);
- virtual bool Enable(unsigned int item, bool enable = true);
- virtual bool Show(unsigned int item, bool show = true);
-
- virtual bool Enable(bool enable = true);
virtual wxString GetLabel() const;
virtual void SetLabel(const wxString& label) ;
- virtual bool Show(bool show = true);
// Other external functions
void Command(wxCommandEvent& event);