diff --git a/src/wx/widgets/wxmisc.cpp b/src/wx/widgets/wxmisc.cpp index d97d98b4..8483afc7 100644 --- a/src/wx/widgets/wxmisc.cpp +++ b/src/wx/widgets/wxmisc.cpp @@ -27,7 +27,7 @@ void wxFarRadio::SetGroup(class wxFarRadio* grp) wxFarRadio* checked = GetValue() ? this : NULL; for (wxFarRadio* gp = Next; gp != this; gp = gp->Next) { - if (gp = grp) + if (gp == grp) return; if (gp->GetValue())