Skip to content

Commit

Permalink
fix: use correct constants for tray icon messages (#19549)
Browse files Browse the repository at this point in the history
  • Loading branch information
miniak authored and MarshallOfSound committed Aug 1, 2019
1 parent 2e78589 commit e8c4e6f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions shell/browser/ui/win/notify_icon_host.cc
Expand Up @@ -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;

Expand Down

0 comments on commit e8c4e6f

Please sign in to comment.