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;
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;