From fcde9e1f407f35150b5aad9bf7b586199a275ed4 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Wed, 21 Dec 2016 00:09:59 +0100 Subject: [PATCH] No real changes, just remove hard TABs from macOS wxDVC code And some trailing spaces too for good measure. --- src/osx/cocoa/dataview.mm | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/osx/cocoa/dataview.mm b/src/osx/cocoa/dataview.mm index 906c7f5922..bf79ccd47d 100644 --- a/src/osx/cocoa/dataview.mm +++ b/src/osx/cocoa/dataview.mm @@ -1273,8 +1273,8 @@ outlineView:(NSOutlineView*)outlineView - (NSRect)drawingRectForBounds:(NSRect)theRect { - // Get the parent's idea of where we should draw - NSRect r = [super drawingRectForBounds:theRect]; + // Get the parent's idea of where we should draw + NSRect r = [super drawingRectForBounds:theRect]; if (!_adjustRect) return r; @@ -1296,7 +1296,7 @@ outlineView:(NSOutlineView*)outlineView } } - return r; + return r; } - (void)selectWithFrame:(NSRect)aRect inView:(NSView *)controlView editor:(NSText *)textObj delegate:(id)anObject start:(NSInteger)selStart length:(NSInteger)selLength @@ -1307,20 +1307,20 @@ outlineView:(NSOutlineView*)outlineView aRect = [self drawingRectForBounds:aRect]; _adjustRect = NO; } - [super selectWithFrame:aRect inView:controlView editor:textObj delegate:anObject start:selStart length:selLength]; - _adjustRect = oldAdjustRect; + [super selectWithFrame:aRect inView:controlView editor:textObj delegate:anObject start:selStart length:selLength]; + _adjustRect = oldAdjustRect; } - (void)editWithFrame:(NSRect)aRect inView:(NSView *)controlView editor:(NSText *)textObj delegate:(id)anObject event:(NSEvent *)theEvent -{ +{ BOOL oldAdjustRect = _adjustRect; if (oldAdjustRect) { aRect = [self drawingRectForBounds:aRect]; _adjustRect = NO; } - [super editWithFrame:aRect inView:controlView editor:textObj delegate:anObject event:theEvent]; - _adjustRect = oldAdjustRect; + [super editWithFrame:aRect inView:controlView editor:textObj delegate:anObject event:theEvent]; + _adjustRect = oldAdjustRect; } @end