]>
git.saurik.com Git - wxWidgets.git/blob - include/wx/univ/frame.h
1 ///////////////////////////////////////////////////////////////////////////////
2 // Name: wx/univ/frame.h
3 // Purpose: wxFrame class for wxUniversal
4 // Author: Vadim Zeitlin
8 // Copyright: (c) 2001 SciTech Software, Inc. (www.scitechsoft.com)
9 // Licence: wxWindows licence
10 ///////////////////////////////////////////////////////////////////////////////
12 #ifndef _WX_UNIV_FRAME_H_
13 #define _WX_UNIV_FRAME_H_
16 #pragma interface "univframe.h"
19 // ----------------------------------------------------------------------------
21 // ----------------------------------------------------------------------------
23 class wxFrame
: public wxFrameNative
27 wxFrame(wxWindow
*parent
,
29 const wxString
& title
,
30 const wxPoint
& pos
= wxDefaultPosition
,
31 const wxSize
& size
= wxDefaultSize
,
32 long style
= wxDEFAULT_FRAME_STYLE
,
33 const wxString
& name
= wxFrameNameStr
);
35 virtual wxPoint
GetClientAreaOrigin() const;
36 virtual bool Enable( bool enable
= TRUE
);
39 void OnSize(wxSizeEvent
& event
);
42 // override to update menu bar position when the frame size changes
43 virtual void PositionMenuBar();
47 DECLARE_DYNAMIC_CLASS(wxFrame
)
50 #endif // _WX_UNIV_FRAME_H_