Ensure to use utf8 coded literals
This commit is contained in:
parent
c2a82afdce
commit
fc036c8e3b
1 changed files with 2 additions and 2 deletions
|
|
@ -496,10 +496,10 @@ void Editor::Impl::createFrameContents()
|
||||||
return btn;
|
return btn;
|
||||||
};
|
};
|
||||||
auto createLoadFileButton = [&createGlyphButton](const CRect& bounds, int tag, const char*, CHoriTxtAlign, int fontsize) {
|
auto createLoadFileButton = [&createGlyphButton](const CRect& bounds, int tag, const char*, CHoriTxtAlign, int fontsize) {
|
||||||
return createGlyphButton("\ue142", bounds, tag, fontsize);
|
return createGlyphButton(u8"\ue142", bounds, tag, fontsize);
|
||||||
};
|
};
|
||||||
auto createEditFileButton = [&createGlyphButton](const CRect& bounds, int tag, const char*, CHoriTxtAlign, int fontsize) {
|
auto createEditFileButton = [&createGlyphButton](const CRect& bounds, int tag, const char*, CHoriTxtAlign, int fontsize) {
|
||||||
return createGlyphButton("\ue148", bounds, tag, fontsize);
|
return createGlyphButton(u8"\ue148", bounds, tag, fontsize);
|
||||||
};
|
};
|
||||||
auto createPiano = [](const CRect& bounds, int, const char*, CHoriTxtAlign, int) {
|
auto createPiano = [](const CRect& bounds, int, const char*, CHoriTxtAlign, int) {
|
||||||
SPiano* piano = new SPiano(bounds);
|
SPiano* piano = new SPiano(bounds);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue