activated modal app state again
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27402 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
430e1eed73
commit
f697130ea2
@ -164,7 +164,7 @@ void wxDialog::DoShowModal()
|
|||||||
wxModalDialogs.Append(this);
|
wxModalDialogs.Append(this);
|
||||||
|
|
||||||
#if TARGET_CARBON
|
#if TARGET_CARBON
|
||||||
// BeginAppModalStateForWindow( (WindowRef) MacGetWindowRef()) ;
|
BeginAppModalStateForWindow( (WindowRef) MacGetWindowRef()) ;
|
||||||
#else
|
#else
|
||||||
// TODO : test whether parent gets disabled
|
// TODO : test whether parent gets disabled
|
||||||
bool formerModal = s_macIsInModalLoop ;
|
bool formerModal = s_macIsInModalLoop ;
|
||||||
@ -177,7 +177,7 @@ void wxDialog::DoShowModal()
|
|||||||
}
|
}
|
||||||
|
|
||||||
#if TARGET_CARBON
|
#if TARGET_CARBON
|
||||||
// EndAppModalStateForWindow( (WindowRef) MacGetWindowRef() ) ;
|
EndAppModalStateForWindow( (WindowRef) MacGetWindowRef() ) ;
|
||||||
#else
|
#else
|
||||||
// TODO probably reenable the parent window if any
|
// TODO probably reenable the parent window if any
|
||||||
s_macIsInModalLoop = formerModal ;
|
s_macIsInModalLoop = formerModal ;
|
||||||
|
Loading…
Reference in New Issue
Block a user