<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -1050,7 +1050,7 @@ var STICKY_TIME_INTERVAL        = 500,
     [_menuView setFont:aFont];
 }
 
-- (void)setBackgroundStyle:(_CPMenuWindowBackgroundStyle)aBackgroundStyle
++ (CPColor)backgroundColorForBackgroundStyle:(_CPMenuWindowBackgroundStyle)aBackgroundStyle
 {
     var color = _CPMenuWindowBackgroundColors[aBackgroundStyle];
     
@@ -1092,8 +1092,13 @@ var STICKY_TIME_INTERVAL        = 500,
                 
         _CPMenuWindowBackgroundColors[aBackgroundStyle] = color;
     }
-    
-    [self setBackgroundColor:color];
+
+    return color;
+}
+
+- (void)setBackgroundStyle:(_CPMenuWindowBackgroundStyle)aBackgroundStyle
+{
+    [self setBackgroundColor:[[self class] backgroundColorForBackgroundStyle:aBackgroundStyle]];
 }
 
 - (void)setMenu:(CPMenu)aMenu</diff>
      <filename>AppKit/CPMenu.j</filename>
    </modified>
    <modified>
      <diff>@@ -602,6 +602,23 @@
         objj_msgSend(self[index], aSelector, anObject);
 }
 
+- (void)makeObjectsPerformSelector:(SEL)aSelector withObjects:(CPArray)objects
+{
+    if (!aSelector)
+        [CPException raise:CPInvalidArgumentException reason:&quot;makeObjectsPerformSelector:withObjects: 'aSelector' can't be nil&quot;];
+
+    var index = 0,
+        count = length,
+        argumentsArray = [nil, aSelector].concat(objects || []);
+
+    for(; index &lt; count; ++index)
+    {
+        argumentsArray[0] = self[index];
+        objj_msgSend.apply(this, argumentsArray);
+    }
+}
+
+
 // Comparing arrays
 /*!
     Returns the first object found in the receiver (starting at index 0) which is present in the</diff>
      <filename>Foundation/CPArray.j</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>df8c648d7030fcdd982ef352388c75002ad25080</id>
    </parent>
  </parents>
  <author>
    <name>Francisco Ryan Tolmasky I</name>
    <email>francisco@280north.com</email>
  </author>
  <url>http://github.com/280north/cappuccino/commit/3dbddcf1862dbc96f499dc2f989f1266a514043d</url>
  <id>3dbddcf1862dbc96f499dc2f989f1266a514043d</id>
  <committed-date>2009-10-30T18:02:33-07:00</committed-date>
  <authored-date>2009-10-30T18:02:33-07:00</authored-date>
  <message>Added makeObjectsPerformSelector:withObjects:.

Reviewed by me.</message>
  <tree>8391825f461bc5284cb3533eed0ce611ed045962</tree>
  <committer>
    <name>Francisco Ryan Tolmasky I</name>
    <email>francisco@280north.com</email>
  </committer>
</commit>
