ENH: use system menu on mac platform

Change-Id: Ia0e0bf42232d51cd08216811fdc6633527b3eb97
Signed-off-by: chunmao.guo <chunmao.guo@bambulab.com>
This commit is contained in:
chunmao.guo 2022-07-27 16:24:45 +08:00 committed by Lane.Wei
parent 099e72b885
commit 39f9c23b89
4 changed files with 88 additions and 13 deletions

View file

@ -5557,7 +5557,11 @@ void Plater::priv::set_project_name(const wxString& project_name)
{
m_project_name = project_name;
//update topbar title
#ifdef __WINDOWS__
wxGetApp().mainframe->topbar()->SetTitle(m_project_name);
#else
wxGetApp().mainframe->SetTitle(m_project_name);
#endif
}
void Plater::priv::set_project_filename(const wxString& filename)