X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/bd507486e07b742bb7acb118811efd60ee027859..45b323521bcc3b79c6aa02acc48269eb7e5a80f0:/include/wx/radiobox.h?ds=sidebyside diff --git a/include/wx/radiobox.h b/include/wx/radiobox.h index 575fab95d9..1fea3e7526 100644 --- a/include/wx/radiobox.h +++ b/include/wx/radiobox.h @@ -5,7 +5,7 @@ // Modified by: // Created: 10.09.00 // RCS-ID: $Id$ -// Copyright: (c) wxWindows team +// Copyright: (c) wxWidgets team // Licence: wxWindows licence /////////////////////////////////////////////////////////////////////////////// @@ -52,10 +52,10 @@ public: { SetSelection(sel); - return TRUE; + return true; } - return FALSE; + return false; } // string access @@ -76,8 +76,8 @@ public: virtual void SetString(int n, const wxString& label) = 0; // 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 void Enable(int n, bool enable = true) = 0; + virtual void Show(int n, bool show = true) = 0; // layout parameters virtual int GetColumnCount() const = 0; @@ -86,8 +86,6 @@ public: // return the item above/below/to the left/right of the given one int GetNextItem(int item, wxDirection dir, long style) const; - virtual bool CanApplyParentThemeBackground() const { return true; } - // for compatibility only, don't use these methods in new code! #if WXWIN_COMPATIBILITY_2_2 int Number() const { return GetCount(); }