X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e9a7fde5683162aeeb76a364456b10b9f7c8c555..01b5ad3b500627ae3ebadc755f47c816a859e6bb:/src/gtk/radiobut.cpp diff --git a/src/gtk/radiobut.cpp b/src/gtk/radiobut.cpp index 93e92becbb..779c22e58d 100644 --- a/src/gtk/radiobut.cpp +++ b/src/gtk/radiobut.cpp @@ -138,11 +138,18 @@ bool wxRadioButton::GetValue() const bool wxRadioButton::Enable( bool enable ) { + bool isEnabled = IsEnabled(); + if ( !wxControl::Enable( enable ) ) return false; gtk_widget_set_sensitive(GTK_BIN(m_widget)->child, enable); + if (!isEnabled && enable) + { + GTKFixSensitivity(); + } + return true; }