ui/winui/label.cpp

changeset 18
af411868ab9b
parent 3
f154867f54dc
--- a/ui/winui/label.cpp	Wed Jan 31 12:55:11 2024 +0100
+++ b/ui/winui/label.cpp	Tue Feb 06 14:17:22 2024 +0100
@@ -99,7 +99,7 @@
 
 void  ui_label_set(UiString* str, const char* newvalue) {
     UiWidget* widget = (UiWidget*)str->obj;
-    TextBox box = widget->uielement.as<TextBox>();
+    TextBlock box = widget->uielement.as<TextBlock>();
     box.Text(ui_wstring_set(str, newvalue));
 }
 

mercurial