From e8c4e6f0b3c5fd40d199ab0ccbe31e1ffeb2bede Mon Sep 17 00:00:00 2001 From: Milan Burda Date: Thu, 1 Aug 2019 23:00:37 +0200 Subject: [PATCH] fix: use correct constants for tray icon messages (#19549) --- shell/browser/ui/win/notify_icon_host.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/shell/browser/ui/win/notify_icon_host.cc b/shell/browser/ui/win/notify_icon_host.cc index 928e326b8aaac..04e71ec35a507 100644 --- a/shell/browser/ui/win/notify_icon_host.cc +++ b/shell/browser/ui/win/notify_icon_host.cc @@ -146,15 +146,15 @@ LRESULT CALLBACK NotifyIconHost::WndProc(HWND hwnd, return TRUE; switch (lparam) { - case TB_CHECKBUTTON: + case NIN_BALLOONSHOW: win_icon->NotifyBalloonShow(); return TRUE; - case TB_INDETERMINATE: + case NIN_BALLOONUSERCLICK: win_icon->NotifyBalloonClicked(); return TRUE; - case TB_HIDEBUTTON: + case NIN_BALLOONTIMEOUT: win_icon->NotifyBalloonClosed(); return TRUE;