frames with non-working menubars if there
are multiple top-level frames
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20260 
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
 
 void wxPreviewFrame::OnCloseWindow(wxCloseEvent& WXUNUSED(event))
 {
+    // MakeModal doesn't work on wxMac, especially when there
+    // are multiple top-level windows.
+#ifndef __WXMAC__
     MakeModal(FALSE);
+#endif    
 
     // Need to delete the printout and the print preview
     wxPrintout *printout = m_printPreview->GetPrintout();
     SetAutoLayout( TRUE );
     SetSizer( item0 );
 
+    // MakeModal doesn't work on wxMac, especially when there
+    // are multiple top-level windows.
+#ifndef __WXMAC__
     MakeModal(TRUE);
+#endif
 
     Layout();
 }