mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 06:51:44 +00:00
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
This commit is contained in:
parent
cdf5175e7c
commit
e01753e955
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2005-03-11 Doug Simons <doug.simons@testplant.com>
|
||||
|
||||
* Source/NSClipView.m: Call isFlipped rather than accessing
|
||||
flag directly (fixes a problem with view loaded from a nib).
|
||||
|
||||
2010-03-11 Wolfgang Lux <wolfgang.lux@gmail.com>
|
||||
|
||||
* Source/NSCell.m (-_drawEditorWithFrame:inView:): Fix some
|
||||
|
|
|
@ -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 */
|
||||
|
|
Loading…
Reference in a new issue