First cut of a basic calculator UI example.

This commit is contained in:
Zed A. Shaw 2025-05-05 14:26:47 -04:00
parent 74f5652842
commit f8b9c88e2c
5 changed files with 73 additions and 16 deletions

View file

@ -220,4 +220,9 @@ namespace guecs {
set<Label>(ent, to_set);
}
}
wstring to_wstring(const string& str) {
std::wstring_convert<std::codecvt_utf8_utf16<wchar_t>> $converter;
return $converter.from_bytes(str);
}
}