X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2b4f3c9f768c91d1927c263f5db644cc16fca0b9..1d54b9d29706dbb43de5624bdf4a2aaa74b2350b:/include/wx/gtk/radiobut.h diff --git a/include/wx/gtk/radiobut.h b/include/wx/gtk/radiobut.h index ef01bd838b..8611d506b8 100644 --- a/include/wx/gtk/radiobut.h +++ b/include/wx/gtk/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 @@ -19,7 +19,7 @@ // wxRadioButton //----------------------------------------------------------------------------- -class wxRadioButton: public wxControl +class WXDLLIMPEXP_CORE wxRadioButton: public wxControl { public: wxRadioButton() { } @@ -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();