Skip to content

Commit d9f21a4

Browse files
committed
NSView subclasses (e.g., the hosting view) should not call super. Fixed issue core-plot#192.
1 parent 436774d commit d9f21a4

1 file changed

Lines changed: 0 additions & 8 deletions

File tree

‎framework/MacOnly/CPTGraphHostingView.m‎

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -234,8 +234,6 @@ -(void)mouseDown:(NSEvent *)theEvent
234234

235235
-(void)mouseDragged:(NSEvent *)theEvent
236236
{
237-
[super mouseDragged:theEvent];
238-
239237
CPTGraph *theGraph = self.hostedGraph;
240238
BOOL handled = NO;
241239

@@ -252,8 +250,6 @@ -(void)mouseDragged:(NSEvent *)theEvent
252250

253251
-(void)mouseUp:(NSEvent *)theEvent
254252
{
255-
[super mouseUp:theEvent];
256-
257253
CPTGraph *theGraph = self.hostedGraph;
258254
BOOL handled = NO;
259255

@@ -277,8 +273,6 @@ -(void)mouseUp:(NSEvent *)theEvent
277273

278274
-(void)magnifyWithEvent:(NSEvent *)event
279275
{
280-
[super magnifyWithEvent:event];
281-
282276
CPTGraph *theGraph = self.hostedGraph;
283277
BOOL handled = NO;
284278

@@ -304,8 +298,6 @@ -(void)magnifyWithEvent:(NSEvent *)event
304298

305299
-(void)scrollWheel:(NSEvent *)theEvent
306300
{
307-
[super scrollWheel:theEvent];
308-
309301
CPTGraph *theGraph = self.hostedGraph;
310302
BOOL handled = NO;
311303

0 commit comments

Comments
 (0)