Commit 46c4faca authored by Zebediah Figura's avatar Zebediah Figura Committed by Alexandre Julliard

winemac: Send systray messages with SendNotifyMessage().

parent 7eca09d7
......@@ -290,7 +290,7 @@ static BOOL notify_owner(struct tray_icon *icon, UINT msg, int x, int y)
}
TRACE("posting msg 0x%04x to hwnd %p id 0x%x\n", msg, icon->owner, icon->id);
if (!PostMessageW(icon->owner, icon->callback_message, wp, lp) &&
if (!SendNotifyMessageW(icon->owner, icon->callback_message, wp, lp) &&
(GetLastError() == ERROR_INVALID_WINDOW_HANDLE))
{
WARN("window %p was destroyed, removing icon 0x%x\n", icon->owner, icon->id);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment