Simply remove some unused variables that Xcode 4 compiler warned about.
See #12927.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@66974
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
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;
wxSize sz = m_window->GetSize();
- int left = subrect != NULL ? subrect->x : 0 ;
- int top = subrect != NULL ? subrect->y : 0 ;
int width = subrect != NULL ? subrect->width : sz.x;
int height = subrect != NULL ? subrect->height : sz.y ;
- NSRect rect = NSMakeRect(left, top, width, height );
NSView* view = (NSView*) m_window->GetHandle();
[view lockFocus];
// we use this method as other methods force a repaint, and this method can be