X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8e88e9846a39813e6a36a66e0a9cf09148d85a16..ebfee17940b5123d0527b63bcf23e5f27002092e:/include/wx/osx/toplevel.h diff --git a/include/wx/osx/toplevel.h b/include/wx/osx/toplevel.h index f544bf99de..8ddac703e8 100644 --- a/include/wx/osx/toplevel.h +++ b/include/wx/osx/toplevel.h @@ -35,6 +35,8 @@ public: (void)Create(parent, id, title, pos, size, style, name); } + virtual ~wxTopLevelWindowMac(); + bool Create(wxWindow *parent, wxWindowID id, const wxString& title, @@ -42,14 +44,14 @@ public: const wxSize& size = wxDefaultSize, long style = wxDEFAULT_FRAME_STYLE, const wxString& name = wxFrameNameStr); - - virtual ~wxTopLevelWindowMac(); + + bool Create(wxWindow *parent, WXWindow nativeWindow); virtual bool Destroy(); virtual wxPoint GetClientAreaOrigin() const; - virtual bool SetShape(const wxRegion& region) + virtual bool SetShape(const wxRegion& region) { return DoSetShape(region); } // Attracts the users attention to this window if the application is @@ -62,7 +64,10 @@ public: virtual void Iconize(bool iconize = true); virtual bool IsIconized() const; virtual void Restore(); + + virtual bool IsActive(); + virtual void ShowWithoutActivating(); virtual bool ShowFullScreen(bool show, long style = wxFULLSCREEN_ALL) ; virtual bool IsFullScreen() const ; @@ -71,7 +76,10 @@ public: virtual void SetTitle( const wxString& title); virtual wxString GetTitle() const; - + + virtual void OSXSetModified(bool modified); + virtual bool OSXIsModified() const; + protected: // common part of all ctors void Init();