]>
git.saurik.com Git - wxWidgets.git/blob - include/wx/univ/toplevel.h
1 /////////////////////////////////////////////////////////////////////////////
3 // Purpose: Top level window, abstraction of wxFrame and wxDialog
4 // Author: Vaclav Slavik
6 // Copyright: (c) 2001 SciTech Software, Inc. (www.scitechsoft.com)
7 // Licence: wxWindows licence
8 /////////////////////////////////////////////////////////////////////////////
11 #ifndef __WX_UNIV_TOPLEVEL_H__
12 #define __WX_UNIV_TOPLEVEL_H__
15 #pragma interface "univtoplevel.h"
19 //-----------------------------------------------------------------------------
21 //-----------------------------------------------------------------------------
23 class wxTopLevelWindow
: public wxTopLevelWindowNative
27 wxTopLevelWindow() { Init(); }
28 wxTopLevelWindow(wxWindow
*parent
,
30 const wxString
& title
,
31 const wxPoint
& pos
= wxDefaultPosition
,
32 const wxSize
& size
= wxDefaultSize
,
33 long style
= wxDEFAULT_FRAME_STYLE
,
34 const wxString
& name
= wxFrameNameStr
)
38 Create(parent
, id
, title
, pos
, size
, style
, name
);
41 bool Create(wxWindow
*parent
,
43 const wxString
& title
,
44 const wxPoint
& pos
= wxDefaultPosition
,
45 const wxSize
& size
= wxDefaultSize
,
46 long style
= wxDEFAULT_FRAME_STYLE
,
47 const wxString
& name
= wxFrameNameStr
);
49 // implement base class pure virtuals
50 virtual bool ShowFullScreen(bool show
, long style
= wxFULLSCREEN_ALL
);
52 // implementation from now on
53 // --------------------------
55 DECLARE_DYNAMIC_CLASS(wxTopLevelWindow
)
58 // common part of all ctors
62 #endif // __WX_UNIV_TOPLEVEL_H__