mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-29 21:57:39 +00:00
Fix OVERIDDEN macro, override method in NSCollectionViewGridLayout
This commit is contained in:
parent
fd4b07ff09
commit
731f5a248d
2 changed files with 6 additions and 1 deletions
|
@ -69,7 +69,7 @@ APPKIT_DECLARE NSCollectionViewSupplementaryElementKind GSNoSupplementaryElement
|
|||
* Private helper macro to check, if the method given via the selector sel
|
||||
* has been overridden in the current subclass.
|
||||
*/
|
||||
#define OVERRIDDEN(sel) ([_collectionViewLayout methodForSelector: @selector(sel)] != [[_collectionViewLayout class] instanceMethodForSelector: @selector(sel)])
|
||||
#define OVERRIDDEN(sel) ([_collectionViewLayout methodForSelector: @selector(sel)] != [[NSCollectionViewLayout class] instanceMethodForSelector: @selector(sel)])
|
||||
|
||||
/*
|
||||
* Class variables
|
||||
|
|
|
@ -263,4 +263,9 @@
|
|||
return attrs;
|
||||
}
|
||||
|
||||
- (NSSize) collectionViewContentSize
|
||||
{
|
||||
return [_collectionView frame].size;
|
||||
}
|
||||
|
||||
@end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue