Browse Source

VST3: Removed some ancient native host window resizing code from the plug-in wrapper

tags/2021-05-28
ed 7 years ago
parent
commit
59e70ad82c
1 changed files with 0 additions and 4 deletions
  1. +0
    -4
      modules/juce_audio_plugin_client/VST3/juce_VST3_Wrapper.cpp

+ 0
- 4
modules/juce_audio_plugin_client/VST3/juce_VST3_Wrapper.cpp View File

@@ -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)


Loading…
Cancel
Save