Index: Source/NSView.m =================================================================== --- Source/NSView.m (revision 28415) +++ Source/NSView.m (working copy) @@ -548,7 +548,8 @@ //_is_rotated_from_base = NO; //_is_rotated_or_scaled_from_base = NO; _rFlags.needs_display = YES; - //_post_frame_changes = NO; + _post_bounds_changes = YES; + _post_frame_changes = YES; _autoresizes_subviews = YES; _autoresizingMask = NSViewNotSizable; //_coordinates_valid = NO; @@ -1783,11 +1784,19 @@ return new; } +/** + * Sets whether the receiver should post NSViewFrameDidChangeNotification + * when its frame changed. + */ - (void) setPostsFrameChangedNotifications: (BOOL)flag { _post_frame_changes = flag; } +/** + * Sets whether the receiver should post NSViewBoundsDidChangeNotification + * when its bound changed. + */ - (void) setPostsBoundsChangedNotifications: (BOOL)flag { _post_bounds_changes = flag; @@ -4683,17 +4692,28 @@ return 0.0; } +/** + * Returns whether the receiver posts NSViewFrameDidChangeNotification when + * its frame changed. + * + * Returns YES by default (as documented in Cocoa View Programming Guide). + */ - (BOOL) postsFrameChangedNotifications { return _post_frame_changes; } +/** + * Returns whether the receiver posts NSViewBoundsDidChangeNotification when + * its bound changed. + * + * Returns YES by default (as documented in Cocoa View Programming Guide). + */ - (BOOL) postsBoundsChangedNotifications { return _post_bounds_changes; } - /** *

Returns the default menu to be used for instances of the * current class; if no menu has been set through setMenu: