restrict change from r71719 because otherwise apps like docview sample in ddi mode are not allowing their different child frames to be z-reordered
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72425 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
58f513e990
commit
b7e3daf441
@ -688,7 +688,8 @@ bool wxNonOwnedWindowCocoaImpl::Show(bool show)
|
||||
if ( wxpeer )
|
||||
{
|
||||
// add to parent window before showing
|
||||
if ( wxpeer->GetParent() )
|
||||
wxDialog * const dialog = wxDynamicCast(wxpeer, wxDialog);
|
||||
if ( wxpeer->GetParent() && dialog && dialog->IsModal())
|
||||
{
|
||||
NSView * parentView = wxpeer->GetParent()->GetPeer()->GetWXWidget();
|
||||
if ( parentView )
|
||||
|
Loading…
Reference in New Issue
Block a user