From b85a6d855bc7df5b2727c467a18c5e55f1f6754f Mon Sep 17 00:00:00 2001 From: =?utf8?q?V=C3=A1clav=20Slav=C3=ADk?= Date: Tue, 18 Sep 2001 22:33:48 +0000 Subject: [PATCH] wxFrame for wxUniv git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11640 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/univ/frame.h | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/include/wx/univ/frame.h b/include/wx/univ/frame.h index 7c26f6328b..ab20d2f59e 100644 --- a/include/wx/univ/frame.h +++ b/include/wx/univ/frame.h @@ -20,20 +20,31 @@ // 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); -- 2.45.2