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:
Dimitri Schoolwerth
2014-05-11 22:41:13 +00:00
parent f641dfd78c
commit 6451d23158
10 changed files with 111 additions and 2 deletions

View File

@@ -182,6 +182,11 @@ public:
// set the frame icons
virtual void SetIcons(const wxIconBundle& icons) { m_icons = icons; }
virtual bool EnableFullScreenView(bool WXUNUSED(enable) = true)
{
return false;
}
// maximize the window to cover entire screen
virtual bool ShowFullScreen(bool show, long style = wxFULLSCREEN_ALL) = 0;