]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/carbon/toplevel.cpp
fixed wxMac's wxListCtrl::SetColumnWidth(-1, ...) to really set width for every column
[wxWidgets.git] / 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 ;