8000 Merge pull request #25986 from anntzer/mc · matplotlib/matplotlib@ba952dd · GitHub
[go: up one dir, main page]

Skip to content

Commit ba952dd

Browse files
authored
Merge pull request #25986 from anntzer/mc
Remove unused/unnecessary parts of _macosx.m View.
2 parents d3f8864 + 0f56f74 commit ba952dd

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

src/_macosx.m

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,6 @@ - (BOOL)closeButtonPressed;
198198
@interface View : NSView <NSWindowDelegate>
199199
{ PyObject* canvas;
200200
NSRect rubberband;
201-
NSTrackingRectTag tracking;
202201
@public double device_scale;
203202
}
204203
- (void)dealloc;
@@ -210,7 +209,6 @@ - (View*)initWithFrame:(NSRect)rect;
210209
- (void)setCanvas: (PyObject*)newCanvas;
211210
- (void)windowWillClose:(NSNotification*)notification;
212211
- (BOOL)windowShouldClose:(NSNotification*)notification;
213-
- (BOOL)isFlipped;
214212
- (void)mouseEntered:(NSEvent*)event;
215213
- (void)mouseExited:(NSEvent*)event;
216214
- (void)mouseDown:(NSEvent*)event;
@@ -1245,11 +1243,6 @@ - (void)close
12451243
@end
12461244

12471245
@implementation View
1248-
- (BOOL)isFlipped
1249-
{
1250-
return NO;
1251-
}
1252-
12531246
- (View*)initWithFrame:(NSRect)rect
12541247
{
12551248
self = [super initWithFrame: rect];

0 commit comments

Comments
 (0)
0