]> git.saurik.com Git - wxWidgets.git/blame_incremental - include/wx/univ/frame.h
removed obsolete comment
[wxWidgets.git] / include / wx / univ / frame.h
... / ...
CommitLineData
1///////////////////////////////////////////////////////////////////////////////
2// Name: wx/univ/frame.h
3// Purpose: wxFrame class for wxUniversal
4// Author: Vadim Zeitlin
5// Modified by:
6// Created: 19.05.01
7// RCS-ID: $Id$
8// Copyright: (c) 2001 SciTech Software, Inc. (www.scitechsoft.com)
9// Licence: wxWindows licence
10///////////////////////////////////////////////////////////////////////////////
11
12#ifndef _WX_UNIV_FRAME_H_
13#define _WX_UNIV_FRAME_H_
14
15#ifdef __GNUG__
16 #pragma interface "univframe.h"
17#endif
18
19// ----------------------------------------------------------------------------
20// wxFrame
21// ----------------------------------------------------------------------------
22
23#if defined(__WXMSW__)
24#define wxFrameNative wxFrameMSW
25#elif defined(__WXGTK__)
26#define wxFrameNative wxFrameGTK
27#elif defined(__WXMGL__)
28#define wxFrameNative wxFrameMGL
29#endif
30
31class wxFrame : public wxFrameNative
32{
33public:
34 wxFrame();
35 wxFrame(wxWindow *parent,
36 wxWindowID id,
37 const wxString& title,
38 const wxPoint& pos = wxDefaultPosition,
39 const wxSize& size = wxDefaultSize,
40 long style = wxDEFAULT_FRAME_STYLE,
41 const wxString& name = wxFrameNameStr);
42
43 virtual wxPoint GetClientAreaOrigin() const;
44
45protected:
46 void OnSize(wxSizeEvent& event);
47
48#if wxUSE_MENUS
49 // override to update menu bar position when the frame size changes
50 virtual void PositionMenuBar();
51#endif // wxUSE_MENUS
52
53 DECLARE_EVENT_TABLE()
54 DECLARE_DYNAMIC_CLASS(wxFrame)
55};
56
57#endif // _WX_UNIV_FRAME_H_