Zhiyi Zhang : comctl32: GroupBox can have multiline text.

Alexandre Julliard julliard at winehq.org
Wed Apr 18 15:13:21 CDT 2018


Module: wine
Branch: master
Commit: 45eb3cb4fc2ab54f1c6dfa041e10c5a4c5c53130
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=45eb3cb4fc2ab54f1c6dfa041e10c5a4c5c53130

Author: Zhiyi Zhang <zzhang at codeweavers.com>
Date:   Wed Apr 18 21:58:39 2018 +0800

comctl32: GroupBox can have multiline text.

Signed-off-by: Zhiyi Zhang <zzhang at codeweavers.com>
Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/comctl32/button.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/dlls/comctl32/button.c b/dlls/comctl32/button.c
index 1b187e3..1feb07a 100644
--- a/dlls/comctl32/button.c
+++ b/dlls/comctl32/button.c
@@ -282,9 +282,6 @@ static UINT BUTTON_BStoDT( DWORD style, DWORD ex_style )
             default:         dtStyle |= DT_VCENTER; break;
         }
     }
-    else
-        /* GroupBox's text is always single line and is top aligned. */
-        dtStyle |= DT_SINGLELINE;
 
     return dtStyle;
 }




More information about the wine-cvs mailing list