summaryrefslogtreecommitdiff
path: root/src/mir_core
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2020-12-29 21:53:25 +0300
committerGeorge Hazan <ghazan@miranda.im>2020-12-29 21:53:25 +0300
commitf43c66e09b4af324394f416dfdd99f5faeb7ef46 (patch)
tree5f6fed70b08e535b4e5162995c3f886a7aa306fc /src/mir_core
parent6ad5d8b11e4b93df8a9deff1f784b4b75018a3d6 (diff)
fix for radio buttons processing
Diffstat (limited to 'src/mir_core')
-rw-r--r--src/mir_core/src/CDlgBase.cpp2
1 files changed, 1 insertions, 1 deletions
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);