Stub 10.8 methods for allowsMagnification

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39099 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Riccardo Mottola 2015-10-28 00:42:40 +00:00
parent 0dda8778b9
commit ef3942ac38
3 changed files with 21 additions and 0 deletions

View file

@ -1,3 +1,9 @@
2015-10-28 Riccardo Mottola <rm@gnu.org>
* Headers/AppKit/NSScrollView.h
* Source/NSScrollView.m
Stub 10.8 methods for allowsMagnification.
2015-10-28 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSPasteboard.m (-_pbs): Fix waiting forever if gpbs

View file

@ -159,6 +159,10 @@ typedef NSInteger NSScrollElasticity;
- (NSScrollElasticity)verticalScrollElasticity;
- (void)setVerticalScrollElasticity:(NSScrollElasticity)value;
#endif
#if OS_API_VERSION(MAC_OS_X_VERSION_10_8, GS_API_LATEST)
- (BOOL)allowsMagnification;
- (void)setAllowsMagnification:(BOOL)m;
#endif
/* Updating display after scrolling */
- (void)reflectScrolledClipView:(NSClipView*)aClipView;

View file

@ -1534,6 +1534,17 @@ GSOppositeEdge(NSRectEdge edge)
return _vertScroller;
}
- (BOOL)allowsMagnification
{
//we need an ivar for this
return NO;
}
- (void)setAllowsMagnification:(BOOL)m
{
//we need an ivar for this
}
/*
* NSCoding protocol
*/