David Hedberg : comdlg32: Set BS_MULTILINE also for check buttons.

Alexandre Julliard julliard at wine.codeweavers.com
Thu Sep 4 14:48:39 CDT 2014


Module: wine
Branch: master
Commit: dc7f17ee14321100a9e812190add3e122f1e58e8
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=dc7f17ee14321100a9e812190add3e122f1e58e8

Author: David Hedberg <david.hedberg at gmail.com>
Date:   Wed Sep  3 22:58:27 2014 +0200

comdlg32: Set BS_MULTILINE also for check buttons.

---

 dlls/comdlg32/itemdlg.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/comdlg32/itemdlg.c b/dlls/comdlg32/itemdlg.c
index a6b45f8..0426488 100644
--- a/dlls/comdlg32/itemdlg.c
+++ b/dlls/comdlg32/itemdlg.c
@@ -3265,7 +3265,7 @@ static HRESULT WINAPI IFileDialogCustomize_fnAddCheckButton(IFileDialogCustomize
     HRESULT hr;
     TRACE("%p (%d, %p, %d)\n", This, dwIDCtl, pszLabel, bChecked);
 
-    hr = cctrl_create_new(This, dwIDCtl, pszLabel, WC_BUTTONW, BS_AUTOCHECKBOX, 0,
+    hr = cctrl_create_new(This, dwIDCtl, pszLabel, WC_BUTTONW, BS_AUTOCHECKBOX|BS_MULTILINE, 0,
                           This->cctrl_def_height, &ctrl);
     if(SUCCEEDED(hr))
     {




More information about the wine-cvs mailing list