Implement NSUserInterfaceItemIdentifcation protocol

This commit is contained in:
ckegel 2023-04-20 21:18:12 -04:00
parent 81d2422c67
commit fd68ee23c7
2 changed files with 4 additions and 3 deletions

View File

@ -888,7 +888,7 @@ static inline void buildTransformsIfNeeded(NSView *self) {
}
- (BOOL) translatesAutoresizingMaskIntoConstraints {
return _translatesAutoresizingMaskIntoConstraints;
return _translatesAutoresizingMaskIntoConstraints;
}
- viewWithTag: (NSInteger) tag {
@ -1131,8 +1131,8 @@ static inline void buildTransformsIfNeeded(NSView *self) {
}
- (void) settranslatesAutoresizingMaskIntoConstraints: (BOOL) value {
_translatesAutoresizingMaskIntoConstraints = value;
NSUnimplementedMethod();
_translatesAutoresizingMaskIntoConstraints = value;
NSUnimplementedMethod();
}
- (void) setPostsFrameChangedNotifications: (BOOL) flag {

View File

@ -24,6 +24,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
#import <AppKit/NSAnimation.h>
#import <AppKit/NSGraphics.h>
#import <AppKit/NSResponder.h>
#import <AppKit/NSUserInterfaceItemIdentification.h>
#import <ApplicationServices/ApplicationServices.h>
#import <AppKit/NSUserInterfaceItemIdentification.h>
#import <AppKit/NSLayoutConstraint.h>