Add wxFullScreenEvent for macOS

Send a wxFullScreenEvent when the user enters or exits full screen on
macOS. EnableFullScreenView() has to be used to enable the native
full screen API.

Closes https://github.com/wxWidgets/wxWidgets/pull/2284
This commit is contained in:
Tobias Taschner
2021-03-18 22:12:14 +01:00
committed by Vadim Zeitlin
parent a495b1fd23
commit 0ff1bdec09
6 changed files with 106 additions and 10 deletions

View File

@@ -341,6 +341,8 @@ public :
CGWindowLevel GetWindowLevel() const wxOVERRIDE { return m_macWindowLevel; }
void RestoreWindowLevel() wxOVERRIDE;
bool m_macIgnoreNextFullscreenChange = false;
static WX_NSResponder GetNextFirstResponder() ;
static WX_NSResponder GetFormerFirstResponder() ;
protected :