]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/osx/toplevel.h
Fix wrong tab order in wxAuiNotebook after dragging.
[wxWidgets.git] / include / wx / osx / toplevel.h
index 7983b8c5c6adb1b03df4aee496ae3ce2be10aa38..dcde837060d09b9b1340667b0dffa5e177642dfd 100644 (file)
@@ -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,8 +45,8 @@ public:
                 long style = wxDEFAULT_FRAME_STYLE,
                 const wxString& name = wxFrameNameStr);
 
-    virtual ~wxTopLevelWindowMac();
-    
+    bool Create(wxWindow *parent, WXWindow nativeWindow);
+
     virtual bool Destroy();
 
     virtual wxPoint GetClientAreaOrigin() const;
@@ -60,6 +62,9 @@ public:
     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 ;
 
@@ -68,7 +73,15 @@ 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();