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());
|
||||
|
||||
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
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue