X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ef5c70f96f5e06e1c8f8119f51b99dd019583d2b..ca77701441e39245dcbfce903049e76f166979e5:/include/wx/gtk/radiobut.h diff --git a/include/wx/gtk/radiobut.h b/include/wx/gtk/radiobut.h index bb4f5d869c..e1a1d6275e 100644 --- a/include/wx/gtk/radiobut.h +++ b/include/wx/gtk/radiobut.h @@ -42,23 +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 wxSize DoGetBestSize() const; + virtual wxBorder GetDefaultBorder() const { return wxBORDER_NONE; } + virtual void DoApplyWidgetStyle(GtkRcStyle *style); virtual GdkWindow *GTKGetWindow(wxArrayGdkWindows& windows) const; private: + typedef wxControl base_type; + DECLARE_DYNAMIC_CLASS(wxRadioButton) };