From 2c5b219cd5699db399332d65f5f33b390201ba3e Mon Sep 17 00:00:00 2001 From: dpsimons Date: Fri, 12 Mar 2010 02:08:01 +0000 Subject: [PATCH] Call isFlipped rather than accessing flag directly (fixes a problem with view loaded from a nib) git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29906 72102866-910b-0410-8b05-ffd578937521 --- ChangeLog | 5 +++++ Source/NSClipView.m | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index d290c531c..7deee4759 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2005-03-11 Doug Simons + + * Source/NSClipView.m: Call isFlipped rather than accessing + flag directly (fixes a problem with view loaded from a nib). + 2010-03-11 Wolfgang Lux * Source/NSCell.m (-_drawEditorWithFrame:inView:): Fix some diff --git a/Source/NSClipView.m b/Source/NSClipView.m index 3729f1749..326364081 100644 --- a/Source/NSClipView.m +++ b/Source/NSClipView.m @@ -700,7 +700,7 @@ static inline NSRect integralRect (NSRect rect, NSView *view) - (BOOL) isFlipped { - return (_documentView != nil) ? _documentView->_rFlags.flipped_view : NO; + return (_documentView != nil) ? [_documentView isFlipped] : NO; } /* Disable rotation of clip view */