X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/655719367ac5e131d9642e5783f3ecf64d1a3385..e4ccedf7b28e60d8109ea412c34fb0f22a68afd4:/include/wx/mac/carbon/radiobox.h diff --git a/include/wx/mac/carbon/radiobox.h b/include/wx/mac/carbon/radiobox.h index d4d2a46263..6a895305fe 100644 --- a/include/wx/mac/carbon/radiobox.h +++ b/include/wx/mac/carbon/radiobox.h @@ -12,10 +12,6 @@ #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,15 @@ 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 int GetColumnCount() const ; - virtual int GetRowCount() const ; - + virtual bool Enable(int item, bool enable = true); + virtual bool Show(int item, bool show = true); - 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(); @@ -91,11 +83,10 @@ public: protected: wxRadioButton *m_radioButtonCycle; - int m_majorDim ; 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,