From 0e60c34ab9d3ee5bbe18071f2015dd98715c8e63 Mon Sep 17 00:00:00 2001 From: retro-wertz Date: Thu, 12 Jul 2018 16:23:59 +0800 Subject: [PATCH] Fix this --- src/wx/widgets/wxmisc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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())