X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/77ffb5937e89927b621128789401db8921fe580f..254fbd140e67b60f46d7380c6ac242110ddd7585:/include/wx/mac/carbon/toplevel.h?ds=sidebyside diff --git a/include/wx/mac/carbon/toplevel.h b/include/wx/mac/carbon/toplevel.h index f43b6b7146..0abf5b1c0e 100644 --- a/include/wx/mac/carbon/toplevel.h +++ b/include/wx/mac/carbon/toplevel.h @@ -6,7 +6,7 @@ // Created: 20.09.01 // RCS-ID: $Id$ // Copyright: (c) 2001 Stefan Csomor -// Licence: wxWidgets licence +// Licence: wxWindows licence /////////////////////////////////////////////////////////////////////////////// #ifndef _WX_MSW_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(); @@ -124,6 +128,7 @@ protected: WXWindow m_macWindow ; wxWindowMac* m_macFocus ; + void *m_macFullScreenData ; static wxTopLevelWindowMac *s_macDeactivateWindow; private :