From 424611e7c724c8fcf7dcc8c7f60cc1774cbabb02 Mon Sep 17 00:00:00 2001 From: Randall Luecke Date: Tue, 20 Oct 2009 20:51:35 -0400 Subject: [PATCH] fixed frameRectForContentRect:styleMask: so the styleMask argument is actually used and the method no longer outputs an error when called --- AppKit/CPWindow/CPWindow.j | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AppKit/CPWindow/CPWindow.j b/AppKit/CPWindow/CPWindow.j index 58f051a88..ab5c48ba3 100644 --- a/AppKit/CPWindow/CPWindow.j +++ b/AppKit/CPWindow/CPWindow.j @@ -581,7 +581,7 @@ CPTexturedBackgroundWindowMask */ + (CGRect)frameRectForContentRect:(CGRect)aContentRect styleMask:(unsigned)aStyleMask { - return [[[self class] _windowViewClassForStyleMask:_styleMask] frameRectForContentRect:aContentRect]; + return [[[self class] _windowViewClassForStyleMask:aStyleMask] frameRectForContentRect:aContentRect]; } /*!