mirror of
https://github.com/HackPlan/atom-shell.git
synced 2026-03-30 23:17:21 +08: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