@@ -806,7 +806,7 @@ bool wxNonOwnedWindowCocoaImpl::Show(bool show)
|
|||||||
{
|
{
|
||||||
// add to parent window before showing
|
// add to parent window before showing
|
||||||
wxDialog * const dialog = wxDynamicCast(wxpeer, wxDialog);
|
wxDialog * const dialog = wxDynamicCast(wxpeer, wxDialog);
|
||||||
if ( wxpeer->GetParent() && dialog && dialog->IsModal())
|
if ( wxpeer->GetParent() && dialog )
|
||||||
{
|
{
|
||||||
NSView * parentView = wxpeer->GetParent()->GetPeer()->GetWXWidget();
|
NSView * parentView = wxpeer->GetParent()->GetPeer()->GetWXWidget();
|
||||||
if ( parentView )
|
if ( parentView )
|
||||||
|
Reference in New Issue
Block a user