X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/584ad2a32fec156c6049145d7ece9a33213aea28..8490b71bf0872890ede63fa62b6de22e32cd49bb:/include/wx/cocoa/radiobox.h diff --git a/include/wx/cocoa/radiobox.h b/include/wx/cocoa/radiobox.h index 363ffd3a35..13c2391dbc 100644 --- a/include/wx/cocoa/radiobox.h +++ b/include/wx/cocoa/radiobox.h @@ -6,7 +6,7 @@ // Created: 2003/03/18 // RCS-ID: $Id: // Copyright: (c) 2003 David Elliott -// Licence: wxWindows license +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// #ifndef __WX_COCOA_RADIOBOX_H__ @@ -89,11 +89,13 @@ public: virtual wxString GetString(int n) const; virtual void SetString(int n, const wxString& label); // change the individual radio button state - 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); // layout parameters virtual int GetColumnCount() const; virtual int GetRowCount() const; +protected: + virtual wxSize DoGetBestSize() const; }; #endif // __WX_COCOA_RADIOBOX_H__