From 0e0599c7226897e22010eea06554d0466fdb1419 Mon Sep 17 00:00:00 2001 From: "chunmao.guo" Date: Wed, 16 Oct 2024 11:42:22 +0800 Subject: [PATCH] FIX: AMSCountPopupWindow wxPU_CONTAINS_CONTROLS Change-Id: Iff7c79640e1fddc1bb4c5f73b4bbbe81122515d9 Jira: none --- src/slic3r/GUI/Plater.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/slic3r/GUI/Plater.cpp b/src/slic3r/GUI/Plater.cpp index 2f99ebdb5..f5b1230bc 100644 --- a/src/slic3r/GUI/Plater.cpp +++ b/src/slic3r/GUI/Plater.cpp @@ -605,7 +605,7 @@ class AMSCountPopupWindow : public PopupWindow { public: AMSCountPopupWindow(wxWindow * parent, wxStaticText *text, int index) - : PopupWindow(parent, wxBORDER_NONE) + : PopupWindow(parent, wxBORDER_NONE | wxPU_CONTAINS_CONTROLS) { auto msg = new wxStaticText(this, wxID_ANY, _L("Please set the number of ams installed on the this extrusion head.")); msg->SetFont(Label::Body_14);