ui/winui/label.cpp

changeset 3
f154867f54dc
parent 0
2483f517c562
child 18
af411868ab9b
--- a/ui/winui/label.cpp	Sat Jan 27 17:50:19 2024 +0100
+++ b/ui/winui/label.cpp	Sun Jan 28 16:31:34 2024 +0100
@@ -94,13 +94,13 @@
     UiWidget* widget = (UiWidget*)str->obj;
     TextBlock box = widget->uielement.as<TextBlock>();
     std::wstring wstr(box.Text());
-    return ui_string_get(str, wstr);
+    return ui_wstring_get(str, wstr);
 }
 
 void  ui_label_set(UiString* str, const char* newvalue) {
     UiWidget* widget = (UiWidget*)str->obj;
     TextBox box = widget->uielement.as<TextBox>();
-    box.Text(ui_string_set(str, newvalue));
+    box.Text(ui_wstring_set(str, newvalue));
 }
 
 

mercurial