From 76e39eac8cee2175ec62a191f7c91ca53857e80c Mon Sep 17 00:00:00 2001 From: Benji Dial Date: Fri, 5 Mar 2021 18:07:48 -0500 Subject: more raleigh, including button and vbox widgets --- src/user/raleigh/runtime.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/user/raleigh/runtime.cpp') diff --git a/src/user/raleigh/runtime.cpp b/src/user/raleigh/runtime.cpp index 1152575..6dafed1 100644 --- a/src/user/raleigh/runtime.cpp +++ b/src/user/raleigh/runtime.cpp @@ -11,9 +11,12 @@ namespace raleigh { if (!open_windows.first) __pcrt_quit(); for (dllist::node *w = open_windows.first; w; w = w->next) - if (w->d.try_actions() == window::DELETE) + if (w->d.try_actions() == window::DELETE) { + _delete_window(w->d.handle); + w->d.handle = 0; if (!(w = open_windows.remove_in_place(w))) break; + } _wait_for_action(); _yield_task(); } -- cgit v1.2.3