X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5171553c22dca07d136dc2da9dc83bb3c04f0319..60acae65faac4b98254c76437d4bb9ac55f5d759:/include/wx/mac/carbon/toplevel.h diff --git a/include/wx/mac/carbon/toplevel.h b/include/wx/mac/carbon/toplevel.h index 1eadf131e3..0abf5b1c0e 100644 --- a/include/wx/mac/carbon/toplevel.h +++ b/include/wx/mac/carbon/toplevel.h @@ -55,6 +55,10 @@ public: virtual wxPoint GetClientAreaOrigin() const; + // Attracts the users attention to this window if the application is + // inactive (should be called when a background event occurs) + virtual void RequestUserAttention(int flags = wxUSER_ATTENTION_INFO); + // implement base class pure virtuals virtual void Maximize(bool maximize = TRUE); virtual bool IsMaximized() const; @@ -66,9 +70,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 // -------------------------- @@ -83,6 +86,7 @@ public: WXWindow MacGetWindowRef() { return m_macWindow ; } virtual void MacActivate( long timestamp , bool inIsActivating ) ; + virtual void MacPerformUpdates() ; virtual void Raise(); virtual void Lower(); @@ -102,6 +106,8 @@ public: WXEVENTHANDLERREF MacGetEventHandler() { return m_macEventHandler ; } + virtual void MacGetContentAreaInset( int &left , int &top , int &right , int &bottom ) ; + protected: // common part of all ctors void Init(); @@ -122,6 +128,7 @@ protected: WXWindow m_macWindow ; wxWindowMac* m_macFocus ; + void *m_macFullScreenData ; static wxTopLevelWindowMac *s_macDeactivateWindow; private :