From f43c66e09b4af324394f416dfdd99f5faeb7ef46 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 29 Dec 2020 21:53:25 +0300 Subject: fix for radio buttons processing --- src/mir_core/src/CDlgBase.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mir_core') diff --git a/src/mir_core/src/CDlgBase.cpp b/src/mir_core/src/CDlgBase.cpp index 73d2fced0a..a3afbdc8bd 100644 --- a/src/mir_core/src/CDlgBase.cpp +++ b/src/mir_core/src/CDlgBase.cpp @@ -185,7 +185,7 @@ BOOL CALLBACK CDlgBase::GlobalFieldEnum(HWND hwnd, LPARAM lParam) else if (!wcsicmp(wszClass, L"ComboBox")) new CCtrlCombo(pDlg, id); else if (!wcsicmp(wszClass, L"Button")) { - if (GetWindowLongW(hwnd, GWL_STYLE) & (BS_CHECKBOX | BS_RADIOBUTTON)) + if (GetWindowLongW(hwnd, GWL_STYLE) & (BS_CHECKBOX | BS_RADIOBUTTON | BS_AUTORADIOBUTTON)) new CCtrlCheck(pDlg, id); else new CCtrlButton(pDlg, id); -- cgit v1.2.3