[HHCTRL.OCX] Sync with Wine 3.0. CORE-14225

This commit is contained in:
Amine Khaldi 2018-01-19 00:21:29 +01:00
parent 70c9f30747
commit 8d2d12d7ee
2 changed files with 4 additions and 7 deletions

View File

@ -1596,7 +1596,7 @@ static LRESULT CALLBACK Help_WndProc(HWND hWnd, UINT message, WPARAM wParam, LPA
static BOOL HH_CreateHelpWindow(HHInfo *info)
{
HWND hWnd, parent = 0;
HWND hWnd;
RECT winPos = info->WinType.rcWindowPos;
WNDCLASSEXW wcex;
DWORD dwStyles, dwExStyles;
@ -1670,11 +1670,8 @@ static BOOL HH_CreateHelpWindow(HHInfo *info)
caption = info->WinType.pszCaption;
if (!*caption) caption = info->pCHMInfo->defTitle;
if (info->WinType.dwStyles & WS_CHILD)
parent = info->WinType.hwndCaller;
hWnd = CreateWindowExW(dwExStyles, windowClassW, caption,
dwStyles, x, y, width, height, parent, NULL, hhctrl_hinstance, NULL);
hWnd = CreateWindowExW(dwExStyles, windowClassW, caption, dwStyles, x, y, width, height,
info->WinType.hwndCaller, NULL, hhctrl_hinstance, NULL);
if (!hWnd)
return FALSE;

View File

@ -69,7 +69,7 @@ reactos/dll/win32/faultrep # Synced to WineStaging-2.9
reactos/dll/win32/fontsub # Synced to WineStaging-2.9
reactos/dll/win32/fusion # Synced to Wine-3.0
reactos/dll/win32/gdiplus # Synced to Wine-3.0
reactos/dll/win32/hhctrl.ocx # Synced to WineStaging-2.9
reactos/dll/win32/hhctrl.ocx # Synced to Wine-3.0
reactos/dll/win32/hlink # Synced to WineStaging-2.9
reactos/dll/win32/hnetcfg # Synced to WineStaging-2.9
reactos/dll/win32/httpapi # Synced to WineStaging-2.9