From 59e70ad82cab90387218b4e848fa6a4353dbd070 Mon Sep 17 00:00:00 2001 From: ed Date: Wed, 24 Oct 2018 14:47:57 +0100 Subject: [PATCH] VST3: Removed some ancient native host window resizing code from the plug-in wrapper --- modules/juce_audio_plugin_client/VST3/juce_VST3_Wrapper.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/modules/juce_audio_plugin_client/VST3/juce_VST3_Wrapper.cpp b/modules/juce_audio_plugin_client/VST3/juce_VST3_Wrapper.cpp index ad02300790..5d9aa4645d 100644 --- a/modules/juce_audio_plugin_client/VST3/juce_VST3_Wrapper.cpp +++ b/modules/juce_audio_plugin_client/VST3/juce_VST3_Wrapper.cpp @@ -86,7 +86,6 @@ using namespace Steinberg; extern JUCE_API void* attachComponentToWindowRefVST (Component*, void* parentWindowOrView, bool isNSView); extern JUCE_API void detachComponentFromWindowRefVST (Component*, void* nsWindow, bool isNSView); - extern JUCE_API void setNativeHostWindowSizeVST (void* window, Component*, int newWidth, int newHeight, bool isNSView); #endif //============================================================================== @@ -1164,9 +1163,6 @@ private: #if JUCE_WINDOWS setSize (w, h); - #else - if (owner.macHostWindow != nullptr && ! (host.isWavelab() || host.isReaper() || host.isBitwigStudio() || host.isFruityLoops())) - juce::setNativeHostWindowSizeVST (owner.macHostWindow, this, w, h, owner.isNSView); #endif if (owner.plugFrame != nullptr)