From: Robert Roebling Date: Wed, 18 Aug 2010 21:32:14 +0000 (+0000) Subject: GTK+ just won't let you uncheck any radiobutton that belongs to a group. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/b8710bbee8cc69d6ba10fb8b33322bf8de957024?ds=inline GTK+ just won't let you uncheck any radiobutton that belongs to a group. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@65343 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/gtk/radiobut.cpp b/src/gtk/radiobut.cpp index 49590debfb..d2c5f73cfe 100644 --- a/src/gtk/radiobut.cpp +++ b/src/gtk/radiobut.cpp @@ -123,8 +123,6 @@ void wxRadioButton::SetValue( bool val ) // should give an assert // RL - No it shouldn't. A wxGenericValidator might try to set it // as FALSE. Failing silently is probably TRTTD here. - // RR - MSW actually unchecks the radio button so do this here, too - gtk_toggle_button_set_active( GTK_TOGGLE_BUTTON(m_widget), FALSE ); } g_signal_handlers_unblock_by_func(