fixed frameRectForContentRect:styleMask: so the styleMask argument is actually used and the method no longer outputs an error when called

This commit is contained in:
Randall Luecke
2009-10-25 19:09:15 -07:00
committed by Ross Boucher
parent de920e959a
commit 424611e7c7
+1 -1
View File
@@ -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];
}
/*!