On 2020/01/28 9:22, Dmitry Belyaev wrote: > Maybe > > batch(Window, Fun) -> > ok = wxWindow:freeze(Window), > try > Fun() > after -> > ok = wxWindow:thaw(Window) > end. > > would be better What would be better about that? If there is a problem in the GUI update (Fun()) the last thing I want to have happen is the Erlang half sticking around. -Craig