X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/efb2fa41ff7dd0253b33ca4477c2642806574090..43ff861df48f0837dac98005dd397c5f127ca136:/include/wx/osx/toplevel.h diff --git a/include/wx/osx/toplevel.h b/include/wx/osx/toplevel.h index 1e7f864463..262c3e8aa5 100644 --- a/include/wx/osx/toplevel.h +++ b/include/wx/osx/toplevel.h @@ -1,5 +1,5 @@ /////////////////////////////////////////////////////////////////////////////// -// Name: wx/mac/carbon/toplevel.h +// Name: wx/osx/toplevel.h // Purpose: wxTopLevelWindowMac is the Mac implementation of wxTLW // Author: Stefan Csomor // Modified by: @@ -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, @@ -43,7 +45,7 @@ public: long style = wxDEFAULT_FRAME_STYLE, const wxString& name = wxFrameNameStr); - virtual ~wxTopLevelWindowMac(); + bool Create(wxWindow *parent, WXWindow nativeWindow); virtual bool Destroy(); @@ -62,7 +64,7 @@ public: virtual void Iconize(bool iconize = true); virtual bool IsIconized() const; virtual void Restore(); - + virtual bool IsActive(); virtual void ShowWithoutActivating(); @@ -75,8 +77,8 @@ public: virtual void SetTitle( const wxString& title); virtual wxString GetTitle() const; - virtual void SetModified(bool modified); - virtual bool GetModified() const; + virtual void OSXSetModified(bool modified); + virtual bool OSXIsModified() const; protected: // common part of all ctors