FIX: close GuideFrame on exit to fix crash on MacOS

Change-Id: Ia9c6103961ce13c3f88f898ed449a3f8f299858d
This commit is contained in:
chunmao.guo authored and Lane.Wei committed 2022-10-09 10:37:45 +08:00
1 parent dfa475210f
commit bb02d0f0ae
2 files changed
+4 -2

No files matched your search

+1 -1
View File
@@ -35,7 +35,7 @@ namespace Slic3r { namespace GUI {
json m_ProfileJson;
GuideFrame::GuideFrame(GUI_App *pGUI, long style)
: wxDialog((wxWindow *) (pGUI->mainframe), wxID_ANY, "BambuStudio", wxDefaultPosition, wxDefaultSize, style),
: DPIDialog((wxWindow *) (pGUI->mainframe), wxID_ANY, "BambuStudio", wxDefaultPosition, wxDefaultSize, style),
m_appconfig_new()
{
// INI