mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-07 23:17:35 -06:00
ENH: use system menu on mac platform
Change-Id: Ia0e0bf42232d51cd08216811fdc6633527b3eb97 Signed-off-by: chunmao.guo <chunmao.guo@bambulab.com>
This commit is contained in:
parent
099e72b885
commit
39f9c23b89
4 changed files with 88 additions and 13 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue