Added support for using OS X' full screen API (available since OS X 10.7).
Added EnableFullScreenView() to have a full screen button in the title bar and also allowing ShowFullScreen() to make use of the newer full screen API. See #14357. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76495 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1008,6 +1008,8 @@ public :
|
||||
|
||||
virtual bool IsFullScreen() const;
|
||||
|
||||
bool EnableFullScreenView(bool enable) wxOVERRIDE;
|
||||
|
||||
virtual bool ShowFullScreen(bool show, long style);
|
||||
|
||||
virtual void ShowWithoutActivating();
|
||||
|
@@ -239,6 +239,8 @@ public :
|
||||
|
||||
virtual bool IsFullScreen() const;
|
||||
|
||||
bool EnableFullScreenView(bool enable) wxOVERRIDE;
|
||||
|
||||
virtual bool ShowFullScreen(bool show, long style);
|
||||
|
||||
virtual void ShowWithoutActivating();
|
||||
|
@@ -867,6 +867,8 @@ public :
|
||||
|
||||
virtual void ShowWithoutActivating() { Show(true); }
|
||||
|
||||
virtual bool EnableFullScreenView(bool enable) = 0;
|
||||
|
||||
virtual bool ShowFullScreen(bool show, long style)= 0;
|
||||
|
||||
virtual void RequestUserAttention(int flags) = 0;
|
||||
|
@@ -64,6 +64,7 @@ public:
|
||||
virtual bool IsActive();
|
||||
|
||||
virtual void ShowWithoutActivating();
|
||||
bool EnableFullScreenView(bool enable = true) wxOVERRIDE;
|
||||
virtual bool ShowFullScreen(bool show, long style = wxFULLSCREEN_ALL) ;
|
||||
virtual bool IsFullScreen() const ;
|
||||
|
||||
|
Reference in New Issue
Block a user