- int FindString( const wxString& s) const;
- void SetSelection( int n );
- int GetSelection() const;
-
- wxString GetString( int n ) const;
-
- wxString GetLabel( int item ) const;
- wxString GetLabel() const { return wxControl::GetLabel(); }
- void SetLabel( const wxString& label );
- void SetLabel( int item, const wxString& label );
-
- /* doesn't work */
- void SetLabel( int item, wxBitmap *bitmap );
-
- bool Show( bool show );
- void Show( int item, bool show );
-
- bool Enable( bool enable );
- void Enable( int item, bool enable );
-
- virtual wxString GetStringSelection() const;
- virtual bool SetStringSelection( const wxString& s );
-
- int Number() const;
- int GetCount() const { return Number(); }
- int GetNumberOfRowsOrCols() const;
- void SetNumberOfRowsOrCols( int n );
-
+ virtual ~wxRadioBox();
+
+
+ // implement wxItemContainerImmutable methods
+ virtual int GetCount() const;
+
+ virtual wxString GetString(int n) const;
+ virtual void SetString(int n, const wxString& s);
+
+ virtual void SetSelection(int n);
+ virtual int GetSelection() const;
+
+
+ // implement wxRadioBoxBase methods
+ virtual bool Show(int n, bool show = true);
+ virtual bool Enable(int n, bool enable = true);
+
+ virtual bool IsItemEnabled(int n) const;
+ virtual bool IsItemShown(int n) const;
+
+
+ // override some base class methods to operate on radiobox itself too
+ virtual bool Show( bool show = true );
+ virtual bool Enable( bool enable = true );
+
+ virtual void SetLabel( const wxString& label );
+
+ static wxVisualAttributes
+ GetClassDefaultAttributes(wxWindowVariant variant = wxWINDOW_VARIANT_NORMAL);
+