make selectedTag accessor public again

This reverts commit cfee75b6e9.
This commit is contained in:
Klaas Pieter Annema committed 2010-12-13 22:16:06 +01:00
1 parent 5a340804fe
commit 003dcface0
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -241,7 +241,7 @@ CPPopUpButtonStatePullsDown = CPThemeState("pulls-down");
/*!
@ignore
*/
- (int)_selectedTag
- (int)selectedTag
{
return [[self selectedItem] tag];
}
+1 -1
View File
@@ -40,7 +40,7 @@
withKeyPath:@"weight"
options:nil];
[self assert:20 equals:[button _selectedTag]];
[self assert:20 equals:[button selectedTag]];
[button selectItemAtIndex:1];
// simulate selection by the user (this fails because we don't reverse set the value)