X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/233f573883834b6c86ad5a9d72fdb6a260f74f81..ab67e8874db324fab5223cc8d5dff8a8de3e2b77:/include/wx/osx/toplevel.h diff --git a/include/wx/osx/toplevel.h b/include/wx/osx/toplevel.h index 675c5af2fc..dcde837060 100644 --- a/include/wx/osx/toplevel.h +++ b/include/wx/osx/toplevel.h @@ -44,16 +44,13 @@ public: const wxSize& size = wxDefaultSize, long style = wxDEFAULT_FRAME_STYLE, const wxString& name = wxFrameNameStr); - + bool Create(wxWindow *parent, WXWindow nativeWindow); - + virtual bool Destroy(); virtual wxPoint GetClientAreaOrigin() const; - virtual bool SetShape(const wxRegion& region) - { return DoSetShape(region); } - // 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); @@ -64,7 +61,7 @@ public: virtual void Iconize(bool iconize = true); virtual bool IsIconized() const; virtual void Restore(); - + virtual bool IsActive(); virtual void ShowWithoutActivating(); @@ -77,9 +74,14 @@ public: virtual void SetTitle( const wxString& title); virtual wxString GetTitle() const; + virtual void SetLabel(const wxString& label) { SetTitle( label ); } + virtual wxString GetLabel() const { return GetTitle(); } + virtual void OSXSetModified(bool modified); virtual bool OSXIsModified() const; + virtual void SetRepresentedFilename(const wxString& filename); + protected: // common part of all ctors void Init();