]> git.saurik.com Git - wxWidgets.git/commitdiff
wxFrame for wxUniv
authorVáclav Slavík <vslavik@fastmail.fm>
Tue, 18 Sep 2001 22:33:48 +0000 (22:33 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Tue, 18 Sep 2001 22:33:48 +0000 (22:33 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11640 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/univ/frame.h

index 7c26f6328bc232411a6b8b54ecee26b230900972..ab20d2f59e893debf17c0b8bcbd975b508de443d 100644 (file)
 // wxFrame
 // ----------------------------------------------------------------------------
 
-class wxFrame : public wxFrameNative
+class wxFrame : public wxFrameBase
 {
 public:
-    wxFrame();
+    wxFrame() {}
     wxFrame(wxWindow *parent,
             wxWindowID id,
             const wxString& title,
             const wxPoint& pos = wxDefaultPosition,
             const wxSize& size = wxDefaultSize,
             long style = wxDEFAULT_FRAME_STYLE,
-            const wxString& name = wxFrameNameStr);
+            const wxString& name = wxFrameNameStr)
+    {
+        Create(parent, id, title, pos, size, style, name);
+    }
+            
+    bool Create(wxWindow *parent,
+                wxWindowID id,
+                const wxString& title,
+                const wxPoint& pos = wxDefaultPosition,
+                const wxSize& size = wxDefaultSize,
+                long style = wxDEFAULT_FRAME_STYLE,
+                const wxString& name = wxFrameNameStr);
 
     virtual wxPoint GetClientAreaOrigin() const;
-    virtual bool Enable( bool enable = TRUE );
+    virtual bool Enable(bool enable = TRUE);
 
 protected:
     void OnSize(wxSizeEvent& event);