compilation/build fixes for wxUniv

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11697 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2001-09-26 00:47:52 +00:00
parent 55fb2c6cc2
commit 2e9f62dafb
11 changed files with 285 additions and 63 deletions

View File

@@ -61,7 +61,9 @@ bool wxTopLevelWindow::Create(wxWindow *parent,
long style,
const wxString &name)
{
long styleOrig, exstyleOrig;
// init them to avoid compiler warnings
long styleOrig = 0,
exstyleOrig = 0;
if ( ms_drawDecorations == -1 )
ms_drawDecorations = TRUE;
@@ -95,12 +97,17 @@ bool wxTopLevelWindow::Create(wxWindow *parent,
bool wxTopLevelWindow::ShowFullScreen(bool show, long style)
{
// VZ: doesn't compile
#if 0
if ( show == IsFullScreen() ) return FALSE;
return wxTopLevelWindowNative::ShowFullScreen(show, style);
// FIXME_MGL -- must handle caption hiding here if not in
// native decorations mode
#endif // 0
return FALSE;
}
long wxTopLevelWindow::GetDecorationsStyle() const