]>
git.saurik.com Git - wxWidgets.git/blob - src/univ/topluniv.cpp
1 /////////////////////////////////////////////////////////////////////////////
3 // Author: Vaclav Slavik
5 // Copyright: (c) 2001 SciTech Software, Inc. (www.scitechsoft.com)
6 // Licence: wxWindows licence
7 /////////////////////////////////////////////////////////////////////////////
9 // ============================================================================
11 // ============================================================================
13 // ----------------------------------------------------------------------------
15 // ----------------------------------------------------------------------------
18 #pragma implementation "univtoplevel.h"
21 // For compilers that support precompilation, includes "wx.h".
22 #include "wx/wxprec.h"
29 #include "wx/toplevel.h"
32 // ----------------------------------------------------------------------------
34 // ----------------------------------------------------------------------------
36 IMPLEMENT_DYNAMIC_CLASS(wxTopLevelWindow
, wxWindow
)
39 // ============================================================================
41 // ============================================================================
43 void wxTopLevelWindow::Init()
47 bool wxTopLevelWindow::Create(wxWindow
*parent
,
49 const wxString
& title
,
51 const wxSize
& sizeOrig
,
55 if ( !wxTopLevelWindowNative::Create(parent
, id
, title
, pos
,
56 sizeOrig
, style
, name
) )
59 // FIXME_MGL -- this is temporary; we assume for now that native TLW
60 // can do decorations, which is not true for MGL
65 bool wxTopLevelWindow::ShowFullScreen(bool show
, long style
)
67 if ( show
== IsFullScreen() ) return FALSE
;
69 return wxTopLevelWindowNative::ShowFullScreen(show
, style
);
71 // FIXME_MGL -- must handle caption hiding here if not in
72 // native decorations mode