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 bool Enable(int n, bool enable = true);
+ virtual bool Show(int n, bool show = true);
virtual int GetColumnCount() const { return GetNumHor(); }
virtual int GetRowCount() const { return GetNumVer(); }
virtual bool SetFont(const wxFont& font);
virtual bool ContainsHWND(WXHWND hWnd) const;
+ // we inherit a version returning false from wxStaticBox, override it again
+ virtual bool AcceptsFocus() const { return true; }
+
void SetLabelFont(const wxFont& WXUNUSED(font)) {}
void SetButtonFont(const wxFont& font) { SetFont(font); }