X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/328f0df87c7c315602ed0a8b39ace1ff8f88eb89..eeb6bb3493dc28680b3801959dc719bd62be147a:/src/mac/carbon/toplevel.cpp 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 ;