X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b292e2f512fa9b25e2d2928604ab884b00e6c6bf..bbe0af5b15f8b8e95ed45abc2140fb3a1fac3c87:/src/gtk/radiobut.cpp diff --git a/src/gtk/radiobut.cpp b/src/gtk/radiobut.cpp index bc2156d094..abf7ac99f2 100644 --- a/src/gtk/radiobut.cpp +++ b/src/gtk/radiobut.cpp @@ -13,6 +13,8 @@ #endif #include "wx/radiobut.h" +#include "gdk/gdk.h" +#include "gtk/gtk.h" //----------------------------------------------------------------------------- // data @@ -108,6 +110,9 @@ void wxRadioButton::SetValue( bool val ) { wxCHECK_RET( m_widget != NULL, "invalid radiobutton" ); + if ( val == GetValue() ) + return; + m_blockFirstEvent = TRUE; if (val)