Daniel Jelinski : comdlg32: Make tests pass with native comctl32.
Alexandre Julliard
julliard at winehq.org
Thu Jun 7 13:39:19 CDT 2012
Module: wine
Branch: master
Commit: 51c77f56a7ef8b7eaf5f781987c642cf01257362
URL: http://source.winehq.org/git/wine.git/?a=commit;h=51c77f56a7ef8b7eaf5f781987c642cf01257362
Author: Daniel Jelinski <djelinski1 at gmail.com>
Date: Thu Jun 7 00:48:13 2012 +0200
comdlg32: Make tests pass with native comctl32.
---
dlls/comdlg32/itemdlg.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/dlls/comdlg32/itemdlg.c b/dlls/comdlg32/itemdlg.c
index 05bea2b..69ef528 100644
--- a/dlls/comdlg32/itemdlg.c
+++ b/dlls/comdlg32/itemdlg.c
@@ -3041,6 +3041,7 @@ static HRESULT WINAPI IFileDialogCustomize_fnAddMenu(IFileDialogCustomize *iface
This->cctrl_def_height, &ctrl);
if(SUCCEEDED(hr))
{
+ SendMessageW(ctrl->hwnd, TB_BUTTONSTRUCTSIZE, sizeof(tbb), 0);
ctrl->type = IDLG_CCTRL_MENU;
/* Add the actual button with a popup menu. */
More information about the wine-cvs
mailing list