ENH:When software is full screen in mac, the sub frame uses the wxSTAYBON_TOP style

jira: STUDIO-11046
Change-Id: Ie1b85e4ac5a5698ec42870349f688924cdf30e21
(cherry picked from commit b28b9c49b208b4269563f59b42ac671fca8035be)
This commit is contained in:
zhou.xu
2025-03-22 15:28:33 +08:00
committed by Noisyfox
parent dd6fff08f7
commit 87116c0f00
6 changed files with 22 additions and 2 deletions

View File

@@ -247,6 +247,8 @@ DPIFrame(NULL, wxID_ANY, "", wxDefaultPosition, wxDefaultSize, BORDERLESS_FRAME_
m_reset_title_text_colour_timer->Start(500);
}
}
auto int_event = new IntEvent(EVT_NOTICE_FULL_SCREEN_CHANGED, e.IsFullScreen() ? 1 : 0);
wxQueueEvent(wxGetApp().plater(), int_event);
e.Skip();
});
#endif