]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/osx/toplevel.h
Activate the view of a newly created document.
[wxWidgets.git] / include / wx / osx / toplevel.h
index 80ccb39ed50ac8b9a5a43ac14952058bcb8d9110..8ddac703e8d748b8ad9ba959a56faa2fccf1e476 100644 (file)
@@ -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,9 +44,9 @@ 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;
@@ -75,6 +77,9 @@ 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();