git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59697
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
wxWindowMac* parent = GetWXPeer()->GetParent();
// under Cocoa we might have a contentView in the wxParent to which we have to
// adjust the coordinates
wxWindowMac* parent = GetWXPeer()->GetParent();
// under Cocoa we might have a contentView in the wxParent to which we have to
// adjust the coordinates
+ if (parent && [m_osxView superview] != parent->GetHandle() )
{
int cx = 0,cy = 0,cw = 0,ch = 0;
if ( parent->GetPeer() )
{
int cx = 0,cy = 0,cw = 0,ch = 0;
if ( parent->GetPeer() )