X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2b4f3c9f768c91d1927c263f5db644cc16fca0b9..63e2147c8b027645682e0e4cd013a3f30bbd3483:/include/wx/gtk1/radiobut.h diff --git a/include/wx/gtk1/radiobut.h b/include/wx/gtk1/radiobut.h index ef01bd838b..552286e179 100644 --- a/include/wx/gtk1/radiobut.h +++ b/include/wx/gtk1/radiobut.h @@ -1,17 +1,17 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: radiobut.h +// Name: wx/gtk/radiobut.h // Purpose: // Author: Robert Roebling // Id: $Id$ // Copyright: (c) 1998 Robert Roebling -// Licence: wxWindows licence +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// #ifndef __GTKRADIOBUTTONH__ #define __GTKRADIOBUTTONH__ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface #endif @@ -47,14 +47,17 @@ public: virtual void SetLabel(const wxString& label); virtual void SetValue(bool val); virtual bool GetValue() const; - virtual bool Enable( bool enable ); + virtual bool Enable( bool enable = TRUE ); + + static wxVisualAttributes + GetClassDefaultAttributes(wxWindowVariant variant = wxWINDOW_VARIANT_NORMAL); // implementation virtual bool IsRadioButton() const { return TRUE; } GSList *m_radioButtonGroup; - void ApplyWidgetStyle(); + void DoApplyWidgetStyle(GtkRcStyle *style); bool IsOwnGtkWindow( GdkWindow *window ); void OnInternalIdle();