X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/677dc0ed1a3ff68af15f6246d6d0708d5264b07a..d642db66a5efc82d374b813022c72ba88bc50839:/include/wx/gtk/radiobut.h diff --git a/include/wx/gtk/radiobut.h b/include/wx/gtk/radiobut.h index 98f638b415..e1a1d6275e 100644 --- a/include/wx/gtk/radiobut.h +++ b/include/wx/gtk/radiobut.h @@ -42,25 +42,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) };