fix: use correct constants for tray icon messages (#19549)

This commit is contained in:
Milan Burda 2019-08-01 23:00:37 +02:00 committed by Samuel Attard
parent 2e785899dd
commit e8c4e6f0b3

View file

@ -146,15 +146,15 @@ LRESULT CALLBACK NotifyIconHost::WndProc(HWND hwnd,
return TRUE; return TRUE;
switch (lparam) { switch (lparam) {
case TB_CHECKBUTTON: case NIN_BALLOONSHOW:
win_icon->NotifyBalloonShow(); win_icon->NotifyBalloonShow();
return TRUE; return TRUE;
case TB_INDETERMINATE: case NIN_BALLOONUSERCLICK:
win_icon->NotifyBalloonClicked(); win_icon->NotifyBalloonClicked();
return TRUE; return TRUE;
case TB_HIDEBUTTON: case NIN_BALLOONTIMEOUT:
win_icon->NotifyBalloonClosed(); win_icon->NotifyBalloonClosed();
return TRUE; return TRUE;