X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/677dc0ed1a3ff68af15f6246d6d0708d5264b07a..9869c26285dc51d13607cddaa04f65ce983653a5:/include/wx/gtk/radiobut.h diff --git a/include/wx/gtk/radiobut.h b/include/wx/gtk/radiobut.h index 98f638b415..165370aa12 100644 --- a/include/wx/gtk/radiobut.h +++ b/include/wx/gtk/radiobut.h @@ -2,7 +2,6 @@ // Name: wx/gtk/radiobut.h // Purpose: // Author: Robert Roebling -// Id: $Id$ // Copyright: (c) 1998 Robert Roebling // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -42,25 +41,20 @@ public: virtual void SetLabel(const wxString& label); virtual void SetValue(bool val); virtual bool GetValue() const; - virtual bool Enable( bool enable = TRUE ); + virtual bool Enable( bool enable = true ); static wxVisualAttributes GetClassDefaultAttributes(wxWindowVariant variant = wxWINDOW_VARIANT_NORMAL); - // implementation - - virtual bool IsRadioButton() const { return TRUE; } - - bool m_blockEvent; - protected: virtual wxBorder GetDefaultBorder() const { return wxBORDER_NONE; } - virtual wxSize DoGetBestSize() const; virtual void DoApplyWidgetStyle(GtkRcStyle *style); virtual GdkWindow *GTKGetWindow(wxArrayGdkWindows& windows) const; private: + typedef wxControl base_type; + DECLARE_DYNAMIC_CLASS(wxRadioButton) };