making sure creation is setup correctly for wx-frame coordinates into cocoa-content coordinates, fixes #11463
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62695 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -449,6 +449,7 @@ long style, long extraStyle, const wxString& WXUNUSED(name) )
|
|||||||
NSRect r = wxToNSRect( NULL, wxRect( pos, size) );
|
NSRect r = wxToNSRect( NULL, wxRect( pos, size) );
|
||||||
|
|
||||||
[m_macWindow setImplementation:this];
|
[m_macWindow setImplementation:this];
|
||||||
|
r = [NSWindow contentRectForFrameRect:r styleMask:windowstyle];
|
||||||
|
|
||||||
[m_macWindow initWithContentRect:r
|
[m_macWindow initWithContentRect:r
|
||||||
styleMask:windowstyle
|
styleMask:windowstyle
|
||||||
|
Reference in New Issue
Block a user