mirror of
https://github.com/reactos/reactos.git
synced 2026-05-27 19:33:55 +08:00
[SDK] Fix compilation error
../sdk/include/reactos/rosctrls.h:283:59: error: no matching function for call to 'CToolbar<TItemData>::SendMessageW(int, HWND__*&, int)'
return SendMessageW(TB_SETTOOLTIPS, hWndTooltip, 0);
../sdk/include/psdk/winuser.h:5543:21: note: candidate: LRESULT ATL::CWindow::SendMessageW(UINT, WPARAM, LPARAM) <near match>
../sdk/include/psdk/winuser.h:5543:21: note: conversion of argument 2 would be ill-formed
This commit is contained in:
@@ -280,7 +280,7 @@ public: // Configuration methods
|
||||
|
||||
DWORD SetTooltip(HWND hWndTooltip)
|
||||
{
|
||||
return SendMessageW(TB_SETTOOLTIPS, hWndTooltip, 0);
|
||||
return SendMessageW(TB_SETTOOLTIPS, reinterpret_cast<WPARAM>(hWndTooltip), 0);
|
||||
}
|
||||
|
||||
INT GetHotItem()
|
||||
|
||||
Reference in New Issue
Block a user