comdlg32: Make tests pass with native comctl32.

This commit is contained in:
Daniel Jelinski 2012-06-07 00:48:13 +02:00 committed by Alexandre Julliard
parent aec1c9562d
commit 51c77f56a7
1 changed files with 1 additions and 0 deletions

View File

@ -3041,6 +3041,7 @@ static HRESULT WINAPI IFileDialogCustomize_fnAddMenu(IFileDialogCustomize *iface
This->cctrl_def_height, &ctrl); This->cctrl_def_height, &ctrl);
if(SUCCEEDED(hr)) if(SUCCEEDED(hr))
{ {
SendMessageW(ctrl->hwnd, TB_BUTTONSTRUCTSIZE, sizeof(tbb), 0);
ctrl->type = IDLG_CCTRL_MENU; ctrl->type = IDLG_CCTRL_MENU;
/* Add the actual button with a popup menu. */ /* Add the actual button with a popup menu. */