]> git.saurik.com Git - wxWidgets.git/blobdiff - src/osx/cocoa/nonownedwnd.mm
fix positioning bug with window disabler and hidden windows
[wxWidgets.git] / src / osx / cocoa / nonownedwnd.mm
index 145d2518b0d6e6cf763d73dacb73de8ffd9449ec..4b73f1e26afade85dc9f9a3ade6e3f9f1b3e6bb1 100644 (file)
@@ -784,8 +784,6 @@ void wxNonOwnedWindowCocoaImpl::GetSize( int &width, int &height ) const
 
 void wxNonOwnedWindowCocoaImpl::GetContentArea( int& left, int &top, int &width, int &height ) const
 {
-    NSRect outer = NSMakeRect(100,100,100,100);
-    NSRect content = [NSWindow contentRectForFrameRect:outer styleMask:[m_macWindow styleMask] ];
     NSRect rect = [[m_macWindow contentView] frame];
     left = (int)rect.origin.x;
     top = (int)rect.origin.y;