diff --git a/src/mac/carbon/toplevel.cpp b/src/mac/carbon/toplevel.cpp index 9398f003e1..b1b9e62997 100644 --- a/src/mac/carbon/toplevel.cpp +++ b/src/mac/carbon/toplevel.cpp @@ -228,7 +228,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 ;