macOS: Allow setting some fullscreen style options
When using the native fullscreen API by enabling EnableFullScrenView() allow using hiding (or showing) menu and/or toolbar. An additional style parameter has been added to EnableFullScrenView() to allow customizing which style is applied when the user presses the fullscreen button instead of a call to ShowFullScreen(). Closes #22180.
This commit is contained in:
committed by
Vadim Zeitlin
parent
9b2f55833e
commit
0a8bba971c
@@ -171,7 +171,8 @@ public:
|
||||
// set the frame icons
|
||||
virtual void SetIcons(const wxIconBundle& icons) { m_icons = icons; }
|
||||
|
||||
virtual bool EnableFullScreenView(bool WXUNUSED(enable) = true)
|
||||
virtual bool EnableFullScreenView(bool WXUNUSED(enable) = true,
|
||||
long WXUNUSED(style) = wxFULLSCREEN_ALL)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user