diff options
author | George Hazan <ghazan@miranda.im> | 2018-02-13 21:15:54 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-02-13 21:15:54 +0300 |
commit | 23539d0833640809508b94bbeb81ff8e66146064 (patch) | |
tree | b6720e45d8d34bdc7d83ebc48df3f202fbaa3926 /src | |
parent | 1e406589b96cc4f97adebd5d680c1288d93cc307 (diff) |
quick fix to avoid problems with buttons
Diffstat (limited to 'src')
-rw-r--r-- | src/mir_core/src/CDlgBase.cpp | 4 |
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")) |