-
Windows 10 |
Beta Was this translation helpful? Give feedback.
Answered by
xland
Dec 21, 2022
Replies: 1 comment
-
The answer: //C++ 20 can not use u8 prefix directly
auto closeBtn = document->GetElementById("closeBtn");
closeBtn->SetInnerRML((const char*)u8"\ue6e7");
closeBtn->AddEventListener(Rml::EventId::Click, this); ele->GetInnerRML() == std::string{ (const char*)u8"\ue6e5" } |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
xland
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The answer: