mirror of
https://github.com/electron/electron.git
synced 2026-01-26 15:58:07 -05:00
We need a UTF-16 string here
This commit is contained in:
@@ -630,9 +630,10 @@ void NativeWindowViews::SetOverlayIcon(
|
||||
|
||||
HWND frame = views::HWNDForNativeWindow(GetNativeWindow());
|
||||
|
||||
std::wstring wstr = std::wstring(description.begin(), description.end());
|
||||
taskbar->SetOverlayIcon(frame,
|
||||
IconUtil::CreateHICONFromSkiaBitmap(overlay.AsBitmap()),
|
||||
description);
|
||||
IconUtil::CreateHICONFromSkBitmap(overlay.AsBitmap()),
|
||||
wstr.c_str());
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user