X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/aa4d3151d6218dd21cc9cd6e77ddc0181aa3414c..36b79d445d08e08776e721d71a832f38daa7fa8c:/include/wx/mac/carbon/toplevel.h diff --git a/include/wx/mac/carbon/toplevel.h b/include/wx/mac/carbon/toplevel.h index 9eef94c683..de3c083448 100644 --- a/include/wx/mac/carbon/toplevel.h +++ b/include/wx/mac/carbon/toplevel.h @@ -66,9 +66,8 @@ public: virtual bool SetShape(const wxRegion& region); - virtual bool ShowFullScreen(bool WXUNUSED(show), long WXUNUSED(style) = wxFULLSCREEN_ALL) - { return FALSE; } - virtual bool IsFullScreen() const { return FALSE; } + virtual bool ShowFullScreen(bool show, long style = wxFULLSCREEN_ALL) ; + virtual bool IsFullScreen() const ; // implementation from now on // -------------------------- @@ -95,12 +94,15 @@ public: virtual void MacInstallTopLevelWindowEventHandler() ; void MacSetMetalAppearance( bool on ) ; + bool MacGetMetalAppearance() const ; void MacChangeWindowAttributes( wxUint32 attributesToSet , wxUint32 attributesToClear ) ; wxUint32 MacGetWindowAttributes() const ; WXEVENTHANDLERREF MacGetEventHandler() { return m_macEventHandler ; } + virtual void MacGetContentAreaInset( int &left , int &top , int &right , int &bottom ) ; + protected: // common part of all ctors void Init(); @@ -121,6 +123,7 @@ protected: WXWindow m_macWindow ; wxWindowMac* m_macFocus ; + void *m_macFullScreenData ; static wxTopLevelWindowMac *s_macDeactivateWindow; private :