Skip to content

Commit efcc8bb

Browse files
committed
Remove unused function
The NSWindow class doesn't have isFlipped. Consequently the removed function wasn't overriding it, and it wasn't called otherwise either.
1 parent 28880fc commit efcc8bb

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

modules/juce_gui_basics/native/juce_NSViewComponentPeer_mac.mm

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2857,8 +2857,6 @@ static NSDragOperation draggingUpdated (id self, SEL, id<NSDraggingInfo> sender)
28572857
return false;
28582858
});
28592859

2860-
addMethod (@selector (isFlipped), [] (id, SEL) { return true; });
2861-
28622860
addMethod (@selector (windowWillUseStandardFrame:defaultFrame:), [] (id self, SEL, NSWindow* window, NSRect r)
28632861
{
28642862
if (auto* owner = getOwner (self))

0 commit comments

Comments
 (0)