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:
parent
376c2fba79
commit
643a0828da
@ -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
|
||||
{
|
||||
|
@ -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
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user