From 5182a0348e99e8793f0e0230254eb7ddbc8a3dfd Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 2 Jul 2020 23:13:54 +0200 Subject: Mac: Declare instance variables in implementation Declaring instance variables in interfaces is deprecated, according to Wobjc-interface-vars (Apple clang version 11.0.0). --- pugl/detail/mac.h | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'pugl/detail/mac.h') diff --git a/pugl/detail/mac.h b/pugl/detail/mac.h index 296faeb..7b64cfe 100644 --- a/pugl/detail/mac.h +++ b/pugl/detail/mac.h @@ -27,15 +27,6 @@ #include @interface PuglWrapperView : NSView -{ -@public - PuglView* puglview; - NSTrackingArea* trackingArea; - NSMutableAttributedString* markedText; - NSTimer* timer; - NSMutableDictionary* userTimers; - bool reshaped; -} - (void) dispatchExpose:(NSRect)rect; - (void) setReshaped; @@ -43,10 +34,6 @@ @end @interface PuglWindow : NSWindow -{ -@public - PuglView* puglview; -} - (void) setPuglview:(PuglView*)view; -- cgit v1.2.1