- 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;
-
- virtual bool Show(bool show = TRUE);
- void SetFocus();
- virtual bool Enable(bool enable = TRUE);
- 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;
+
+ // 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