comctl32: Tooltip AddTool needs to support TTTOOLINFOW_V3_SIZE
Alexandre Julliard
julliard at winehq.org
Fri May 9 09:31:41 CDT 2014
Alistair Leslie-Hughes <leslie_alistair at hotmail.com> writes:
> @@ -1037,8 +1037,9 @@ TOOLTIPS_AddToolT (TOOLTIPS_INFO *infoPtr, const TTTOOLINFOW *ti, BOOL isW)
> infoPtr->hwndSelf, ti->hwnd, ti->uId,
> (ti->uFlags & TTF_IDISHWND) ? " TTF_IDISHWND" : "");
>
> - if (ti->cbSize >= TTTOOLINFOW_V2_SIZE && !ti->lpszText && isW)
> - return FALSE;
> + if ((ti->cbSize > TTTOOLINFOW_V2_SIZE &&
> + ti->cbSize != TTTOOLINFOW_V3_SIZE) && !ti->lpszText && isW)
> + return FALSE;
This doesn't make any sense.
--
Alexandre Julliard
julliard at winehq.org
More information about the wine-devel
mailing list