X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8ba7c77150d74a5385f2385e5448ca491263179f..d8fd7acb8b877599b410e07a4c26dde92a676a82:/include/wx/radiobox.h diff --git a/include/wx/radiobox.h b/include/wx/radiobox.h index 3a366c9943..9014e239a4 100644 --- a/include/wx/radiobox.h +++ b/include/wx/radiobox.h @@ -5,17 +5,13 @@ // Modified by: // Created: 10.09.00 // RCS-ID: $Id$ -// Copyright: (c) wxWidgets team +// Copyright: (c) Vadim Zeitlin // Licence: wxWindows licence /////////////////////////////////////////////////////////////////////////////// #ifndef _WX_RADIOBOX_H_BASE_ #define _WX_RADIOBOX_H_BASE_ -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) - #pragma interface "radioboxbase.h" -#endif - #if wxUSE_RADIOBOX #include "wx/ctrlsub.h" @@ -32,8 +28,8 @@ class WXDLLEXPORT wxRadioBoxBase : public wxItemContainerImmutable { public: // change the individual radio button state - virtual void Enable(int n, bool enable = true) = 0; - virtual void Show(int n, bool show = true) = 0; + virtual bool Enable(int n, bool enable = true) = 0; + virtual bool Show(int n, bool show = true) = 0; // layout parameters virtual int GetColumnCount() const = 0; @@ -42,10 +38,6 @@ public: // return the item above/below/to the left/right of the given one int GetNextItem(int item, wxDirection dir, long style) const; - - // implement some of wxItemContainerImmutable functions - virtual int FindString(const wxString& s) const; - // deprecated functions // -------------------- @@ -53,13 +45,6 @@ public: wxDEPRECATED( int GetNumberOfRowsOrCols() const ); wxDEPRECATED( void SetNumberOfRowsOrCols(int n) ); #endif // WXWIN_COMPATIBILITY_2_4 - - // for compatibility only, don't use these methods in new code! -#if WXWIN_COMPATIBILITY_2_2 - wxDEPRECATED( int Number() const ); - wxDEPRECATED( wxString GetLabel(int n) const ); - wxDEPRECATED( void SetLabel(int n, const wxString& label) ); -#endif // WXWIN_COMPATIBILITY_2_2 }; #if defined(__WXUNIVERSAL__)