From 8ba312d50e066bdd4f307a1edb6562d6c209fe79 Mon Sep 17 00:00:00 2001 From: Jinhao Date: Wed, 13 Jun 2018 22:41:56 +0800 Subject: [PATCH] fix a crash error of improvement of group --- source/gui/widgets/group.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/gui/widgets/group.cpp b/source/gui/widgets/group.cpp index f976944a..fcb8719b 100644 --- a/source/gui/widgets/group.cpp +++ b/source/gui/widgets/group.cpp @@ -121,8 +121,8 @@ namespace nana{ using groupbase_type = widget_object; group::group(window parent, ::std::string titel, bool formatted, unsigned gap, const rectangle& r, bool vsb) + : group(parent, r, vsb) { - this->create(parent, r, vsb); this->bgcolor(API::bgcolor(parent)); impl_.reset(new implement(*this, std::move(titel), vsb, gap));