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:
Stefan Csomor
2009-11-21 17:02:06 +00:00
parent eb23d11e00
commit 01639b0809

View File

@@ -449,6 +449,7 @@ long style, long extraStyle, const wxString& WXUNUSED(name) )
NSRect r = wxToNSRect( NULL, wxRect( pos, size) );
[m_macWindow setImplementation:this];
r = [NSWindow contentRectForFrameRect:r styleMask:windowstyle];
[m_macWindow initWithContentRect:r
styleMask:windowstyle