diff --git a/source/gui/detail/window_manager.cpp b/source/gui/detail/window_manager.cpp index 441a5ec5..0d173e0c 100644 --- a/source/gui/detail/window_manager.cpp +++ b/source/gui/detail/window_manager.cpp @@ -275,7 +275,7 @@ namespace detail if (impl_->wd_register.available(owner)) { if (owner->flags.destroying) - throw std::logic_error("the specified owner is destory"); + throw std::runtime_error("the specified owner is destory"); native = (category::flags::frame == owner->other.category ? owner->other.attribute.frame->container : owner->root_widget->root);