explicit app modality in SetModal

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20062 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor 2003-04-07 20:37:30 +00:00
parent 376c2fba79
commit 643a0828da
2 changed files with 6 additions and 0 deletions

View File

@ -78,6 +78,9 @@ void wxDialog::SetModal(bool flag)
m_windowStyle |= wxDIALOG_MODAL;
wxModelessWindows.DeleteObject(this);
#if TARGET_CARBON
SetWindowModality( (WindowRef) MacGetWindowRef() , kWindowModalityAppModal , NULL ) ;
#endif
}
else
{

View File

@ -78,6 +78,9 @@ void wxDialog::SetModal(bool flag)
m_windowStyle |= wxDIALOG_MODAL;
wxModelessWindows.DeleteObject(this);
#if TARGET_CARBON
SetWindowModality( (WindowRef) MacGetWindowRef() , kWindowModalityAppModal , NULL ) ;
#endif
}
else
{