- virtual int GetSelection() const;
- virtual int GetCount() const;
- virtual wxString GetString(int n) const;
- virtual void SetString(int n, const wxString& label);
- virtual void Enable(int n, bool enable = TRUE);
- virtual void Show(int n, bool show = TRUE);
- virtual int GetColumnCount() const;
- virtual int GetRowCount() const;
-
- bool Show(bool show);
- void SetFocus();
- bool Enable(bool enable);
- void SetLabelFont(const wxFont& WXUNUSED(font)) {};
- void SetButtonFont(const wxFont& font) { SetFont(font); }
+ virtual int GetSelection() const { return m_selectedButton; }
+ virtual unsigned int GetCount() const;
+ virtual wxString GetString(unsigned int n) const;
+ virtual void SetString(unsigned int n, const wxString& label);
+ virtual bool Enable(unsigned int n, bool enable = true);
+ virtual bool Show(unsigned int n, bool show = true);
+ virtual bool IsItemEnabled(unsigned int n) const;
+ virtual bool IsItemShown(unsigned int n) const;
+ virtual int GetItemFromPoint(const wxPoint& pt) const;
+
+ // override some base class methods
+ virtual bool Show(bool show = true);
+ virtual bool Enable(bool enable = true);
+ virtual void SetFocus();
+ virtual bool SetFont(const wxFont& font);
+ virtual bool ContainsHWND(WXHWND hWnd) const;
+#if wxUSE_TOOLTIPS
+ virtual bool HasToolTips() const;
+#endif // wxUSE_TOOLTIPS
+#if wxUSE_HELP
+ // override virtual function with a platform-independent implementation
+ virtual wxString GetHelpTextAtPoint(const wxPoint & pt, wxHelpEvent::Origin origin) const
+ {
+ return wxRadioBoxBase::DoGetHelpTextAtPoint( this, pt, origin );
+ }
+#endif // wxUSE_HELP