]> git.saurik.com Git - wxWidgets.git/commitdiff
1945421 applied
authorStefan Csomor <csomor@advancedconcepts.ch>
Fri, 18 Apr 2008 08:07:07 +0000 (08:07 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Fri, 18 Apr 2008 08:07:07 +0000 (08:07 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53259 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/mac/carbon/toplevel.cpp

index 9398f003e1511750eb90a87900cd974c3628323d..b1b9e629979bca99d908b060b6811cb188e295c4 100644 (file)
@@ -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 ;