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 ;