comdlg32: Make tests pass with native comctl32.
This commit is contained in:
parent
aec1c9562d
commit
51c77f56a7
|
@ -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. */
|
||||||
|
|
Loading…
Reference in New Issue