]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/osx/toplevel.h
Fix button order in wxStdDialogButtonSizer in all cases under GTK.
[wxWidgets.git] / include / wx / osx / toplevel.h
index 14fb396b8bbef3bbc023f5335d1ed61310f5cc50..675c5af2fcfb5744fd09afcd0aa3a00b4f1078c1 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,
@@ -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;