X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/77ffb5937e89927b621128789401db8921fe580f..88ef3a57a47f840adea9d38bc11cb30689a0838a:/include/wx/mac/classic/radiobox.h?ds=sidebyside diff --git a/include/wx/mac/classic/radiobox.h b/include/wx/mac/classic/radiobox.h index a3e5f38802..5ae2613378 100644 --- a/include/wx/mac/classic/radiobox.h +++ b/include/wx/mac/classic/radiobox.h @@ -6,16 +6,12 @@ // Created: 1998-01-01 // RCS-ID: $Id$ // Copyright: (c) Stefan Csomor -// Licence: wxWidgets licence +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// #ifndef _WX_RADIOBOX_H_ #define _WX_RADIOBOX_H_ -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) -#pragma interface "radiobox.h" -#endif - // List box item class WXDLLEXPORT wxBitmap ; @@ -67,19 +63,18 @@ public: virtual wxString GetString(int item) const; virtual void SetString(int item, const wxString& label) ; - virtual void Enable(int item, bool enable); - virtual void Show(int item, bool show) ; + virtual bool Enable(int item, bool enable = true); + virtual bool Show(int item, bool show = true); virtual int GetColumnCount() const ; virtual int GetRowCount() const ; - - virtual bool Enable(bool enable = TRUE); + virtual bool Enable(bool enable = true); virtual wxString GetLabel() const; virtual void SetLabel(const wxString& label) ; - virtual bool Show(bool show = TRUE); + virtual bool Show(bool show = true); -// Other external functions +// Other external functions void Command(wxCommandEvent& event); void SetFocus(); @@ -95,7 +90,7 @@ protected: int m_noItems; int m_noRowsOrCols; -// Internal functions +// Internal functions virtual wxSize DoGetBestSize() const ; virtual void DoSetSize(int x, int y, int width, int height,