1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-09 23:34:20 +00:00

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.
This commit is contained in:
attila 2025-09-25 18:13:20 +02:00 committed by Attila Szarvas
parent 28880fcee9
commit efcc8bb6f0

View file

@ -2857,8 +2857,6 @@ struct JuceNSWindowClass final : public NSViewComponentPeerWrapper<ObjCClass<NSW
return false;
});
addMethod (@selector (isFlipped), [] (id, SEL) { return true; });
addMethod (@selector (windowWillUseStandardFrame:defaultFrame:), [] (id self, SEL, NSWindow* window, NSRect r)
{
if (auto* owner = getOwner (self))