make/vs/testapp/main.c

branch
newapi
changeset 379
958bae372271
parent 377
3a60db9ebb5d
--- a/make/vs/testapp/main.c	Sun Nov 10 15:27:44 2024 +0100
+++ b/make/vs/testapp/main.c	Tue Nov 12 14:58:03 2024 +0100
@@ -121,7 +121,7 @@
 
 void action_toolbar_dialog(UiEvent *event, void *userdata) {
 
-    UiObject *dialog = ui_dialog_window(event->obj, .title  = "Dialog Window", .lbutton1 = "Cancel 1", .lbutton2 = "Btn2", .rbutton3 = "Btn3", .rbutton4 = "Login 4", .onclick = action_dialog_button, .default_button = 4, .show_closebutton = UI_OFF);
+    UiObject *dialog = ui_dialog_window(event->obj, .title  = "Dialog Window", .lbutton1 = "Cancel 1", .lbutton2 = "Btn 2", .rbutton3 = "Btn3", .rbutton4 = "Login 4", .onclick = action_dialog_button, .default_button = 4, .show_closebutton = UI_OFF);
 
     ui_vbox(dialog, .margin = 10, .spacing = 10) {
         ui_label(dialog, .label = "Enter password:");

mercurial