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

jira: none
Change-Id: I338576d77e61a436615e70372b4564c38be0c7dc
(cherry picked from commit 645d843dd97949fb6a73e93fc61ffa4a255b20f3)
This commit is contained in:
zhou.xu
2025-03-25 11:34:27 +08:00
committed by Noisyfox
parent 5bae3838c5
commit 8092512af1
3 changed files with 17 additions and 4 deletions

View File

@@ -91,7 +91,10 @@ protected:
class MainFrame : public DPIFrame
{
bool m_loaded {false};
#ifdef __APPLE__
bool m_mac_fullscreen{false};
#endif
bool m_loaded {false};
wxTimer* m_reset_title_text_colour_timer{ nullptr };
wxString m_qs_last_input_file = wxEmptyString;
@@ -205,7 +208,9 @@ protected:
public:
MainFrame();
~MainFrame() = default;
#ifdef __APPLE__
bool get_mac_full_screen() { return m_mac_fullscreen; }
#endif
//BBS GUI refactor
enum TabPosition
{