Make the toast type really work
This commit is contained in:
parent
6b9371c4cd
commit
4f73de0930
6 changed files with 53 additions and 32 deletions
|
@ -11,6 +11,11 @@ ScopedHString::ScopedHString(const wchar_t* source)
|
|||
Set(source);
|
||||
}
|
||||
|
||||
ScopedHString::ScopedHString(const std::wstring& source)
|
||||
: str_(nullptr) {
|
||||
WindowsCreateString(source.c_str(), source.length(), &str_);
|
||||
}
|
||||
|
||||
ScopedHString::ScopedHString() : str_(nullptr) {
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue