summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-02-13 21:15:54 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-02-13 21:15:54 +0300
commit23539d0833640809508b94bbeb81ff8e66146064 (patch)
treeb6720e45d8d34bdc7d83ebc48df3f202fbaa3926 /src
parent1e406589b96cc4f97adebd5d680c1288d93cc307 (diff)
quick fix to avoid problems with buttons
Diffstat (limited to 'src')
-rw-r--r--src/mir_core/src/CDlgBase.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mir_core/src/CDlgBase.cpp b/src/mir_core/src/CDlgBase.cpp
index e6a4d6f08b..258a4d94fa 100644
--- a/src/mir_core/src/CDlgBase.cpp
+++ b/src/mir_core/src/CDlgBase.cpp
@@ -138,12 +138,12 @@ BOOL CALLBACK CDlgBase::GlobalFieldEnum(HWND hwnd, LPARAM lParam)
new CCtrlEdit(pDlg, id);
else if (!wcsicmp(wszClass, L"ComboBox"))
new CCtrlCombo(pDlg, id);
- else if (!wcsicmp(wszClass, L"Button")) {
+/* else if (!wcsicmp(wszClass, L"Button")) {
if (GetWindowLongW(hwnd, GWL_STYLE) & (BS_CHECKBOX | BS_RADIOBUTTON))
new CCtrlCheck(pDlg, id);
else
new CCtrlButton(pDlg, id);
- }
+ } */
else if (!wcsicmp(wszClass, L"RichEdit50W"))
new CCtrlRichEdit(pDlg, id);
else if (!wcsicmp(wszClass, L"msctls_updown32"))