Merge pull request #2132 from Dogild/ComboBoxModal

Fixed: CPComboBox doesn't work in modal.
This commit is contained in:
Antoine Mercadal committed 2014-06-06 14:36:57 -07:00
commit 86945218de
1 file changed
+9
+9
View File
@@ -863,6 +863,15 @@ var _CPPopUpListDataSourceKey = @"_CPPopUpListDataSourceKey",
return self;
}
/*!
Returns \c YES if the receiver is able to receive input events
even when a modal session is active.
*/
- (BOOL)worksWhenModal
{
return YES;
}
- (void)sendEvent:(CPEvent)anEvent
{
var type = [anEvent type];