ieframe: cxMinChild needs to be set if RBBIM_CHILDSIZE is set

Daniel Jelinski djelinski1 at gmail.com
Wed Sep 19 13:32:29 CDT 2012


-------------- next part --------------
From d6b849a5b230470eb4c16831e7eb218d61b9d716 Mon Sep 17 00:00:00 2001
From: Daniel Jelinski <djelinski1 at gmail.com>
Date: Wed, 19 Sep 2012 20:26:34 +0200
Subject: ieframe: cxMinChild needs to be set if RBBIM_CHILDSIZE is set

not sure if 0 is right here, but it's definitely better than random.
Should fix bug 28695
---
 dlls/ieframe/iexplore.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/dlls/ieframe/iexplore.c b/dlls/ieframe/iexplore.c
index 6c66aef..7d6c6ed 100644
--- a/dlls/ieframe/iexplore.c
+++ b/dlls/ieframe/iexplore.c
@@ -475,6 +475,7 @@ static void create_rebar(HWND hwnd)
     bandinf.fMask = RBBIM_STYLE | RBBIM_CHILD | RBBIM_CHILDSIZE | RBBIM_SIZE;
     bandinf.fStyle = RBBS_CHILDEDGE;
     bandinf.cx = 100;
+    bandinf.cxMinChild = 0;
     bandinf.cyMinChild = 52;
     bandinf.hwndChild = hwndToolbar;
 
-- 
1.7.5.4


More information about the wine-patches mailing list