We need a UTF-16 string here
This commit is contained in:
parent
1b9649b481
commit
ef869fb2ff
1 changed files with 3 additions and 2 deletions
|
@ -630,9 +630,10 @@ void NativeWindowViews::SetOverlayIcon(
|
||||||
|
|
||||||
HWND frame = views::HWNDForNativeWindow(GetNativeWindow());
|
HWND frame = views::HWNDForNativeWindow(GetNativeWindow());
|
||||||
|
|
||||||
|
std::wstring wstr = std::wstring(description.begin(), description.end());
|
||||||
taskbar->SetOverlayIcon(frame,
|
taskbar->SetOverlayIcon(frame,
|
||||||
IconUtil::CreateHICONFromSkiaBitmap(overlay.AsBitmap()),
|
IconUtil::CreateHICONFromSkBitmap(overlay.AsBitmap()),
|
||||||
description);
|
wstr.c_str());
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue