X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3f659fd6b10a8a5c899eaa99adc76a55322b33fd..520e470fdd0daef09c77938db642e4583933c90d:/src/gtk1/radiobut.cpp?ds=inline diff --git a/src/gtk1/radiobut.cpp b/src/gtk1/radiobut.cpp index 42fddad8e6..a9a81ed5ab 100644 --- a/src/gtk1/radiobut.cpp +++ b/src/gtk1/radiobut.cpp @@ -86,6 +86,14 @@ bool wxRadioButton::GetValue(void) const return GTK_TOGGLE_BUTTON(m_widget)->active; } +void wxRadioButton::Enable( bool enable ) +{ + wxControl::Enable( enable ); + GtkButton *bin = GTK_BUTTON( m_widget ); + GtkWidget *label = bin->child; + gtk_widget_set_sensitive( label, enable ); +} + void wxRadioButton::SetFont( const wxFont &font ) { if (((wxFont*)&font)->Ok())