fix: tray.displayBalloon() does not work with custom icon on Windows (#19330)
This commit is contained in:
parent
42a483ad27
commit
9ab3ec080f
1 changed files with 1 additions and 1 deletions
|
@ -199,7 +199,7 @@ void Tray::DisplayBalloon(mate::Arguments* args,
|
|||
|
||||
#if defined(OS_WIN)
|
||||
tray_icon_->DisplayBalloon(
|
||||
icon.IsEmpty() ? NULL : icon->GetHICON(GetSystemMetrics(SM_CXSMICON)),
|
||||
icon.IsEmpty() ? NULL : icon->GetHICON(GetSystemMetrics(SM_CXICON)),
|
||||
title, content);
|
||||
#else
|
||||
tray_icon_->DisplayBalloon(icon.IsEmpty() ? gfx::Image() : icon->image(),
|
||||
|
|
Loading…
Reference in a new issue