FIX: AMSCountPopupWindow wxPU_CONTAINS_CONTROLS

Change-Id: Iff7c79640e1fddc1bb4c5f73b4bbbe81122515d9
Jira: none
This commit is contained in:
chunmao.guo 2024-10-16 11:42:22 +08:00 committed by lane.wei
parent 370be63709
commit 0e0599c722

View File

@ -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);