From 40d3158d55d04b580dc2a0e1466f8e40aa9ca8a2 Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Fri, 18 Apr 2008 08:06:16 +0000 Subject: [PATCH] 1945421 applied git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53258 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/mac/carbon/toplevel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mac/carbon/toplevel.cpp b/src/mac/carbon/toplevel.cpp index bb972cb275..9b019ff439 100644 --- a/src/mac/carbon/toplevel.cpp +++ b/src/mac/carbon/toplevel.cpp @@ -1479,7 +1479,7 @@ bool wxTopLevelWindowMac::ShowFullScreen(bool show, long style) if ( data->m_wasResizable ) MacChangeWindowAttributes( kWindowNoAttributes , kWindowResizableAttribute ) ; } - else + else if ( m_macFullScreenData != NULL ) { ShowMenuBar() ; FullScreenData *data = (FullScreenData *) m_macFullScreenData ;