Merge branch 'master' into tolmasky

Conflicts:
	AppKit/CPControl.j
	AppKit/CPTextField.j
This commit is contained in:
Francisco Tolmasky
2009-03-18 17:41:17 -07:00
23 changed files with 365 additions and 65 deletions
+2 -1
View File
@@ -111,6 +111,7 @@
_tileWidth = -1.0;
_selectionIndexes = [CPIndexSet indexSet];
_isSelectable = YES;
}
return self;
@@ -258,7 +259,7 @@
*/
- (void)setSelectionIndexes:(CPIndexSet)anIndexSet
{
if (_selectionIndexes == anIndexSet)
if (_selectionIndexes == anIndexSet || !_isSelectable)
return;
var index = CPNotFound;