X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4f305456585c3f53b58f90803d25f1392eaedb36..333a0af9f9fb7822e4dba0796fe4a6cf550f7050:/include/wx/mac/carbon/toplevel.h diff --git a/include/wx/mac/carbon/toplevel.h b/include/wx/mac/carbon/toplevel.h index 3f3bdcb540..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 // -------------------------- @@ -92,14 +91,18 @@ public: virtual void MacSetBackgroundBrush( const wxBrush &brush ) ; bool MacUsesCompositing() { return m_macUsesCompositing; } + 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(); @@ -120,6 +123,7 @@ protected: WXWindow m_macWindow ; wxWindowMac* m_macFocus ; + void *m_macFullScreenData ; static wxTopLevelWindowMac *s_macDeactivateWindow; private :