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 2f4faec9a1..d74a232adb 100644 --- a/modules/juce_audio_plugin_client/VST3/juce_VST3_Wrapper.cpp +++ b/modules/juce_audio_plugin_client/VST3/juce_VST3_Wrapper.cpp @@ -705,7 +705,7 @@ private: #endif //============================================================================== - class JuceVST3Editor : public Vst::EditorView + class JuceVST3Editor : public Vst::EditorView, private Timer { public: JuceVST3Editor (JuceVST3EditController& ec, AudioProcessor& p) @@ -757,6 +757,10 @@ private: systemWindow = parent; attachedToParent(); + // Life's too short to faff around with wave lab + if (getHostType().isWavelab()) + startTimer (200); + return kResultTrue; } @@ -843,6 +847,15 @@ private: } private: + void timerCallback() override + { + stopTimer (); + + ViewRect rect; + getSize (&rect); + onSize (&rect); + } + //============================================================================== class ContentWrapperComponent : public Component {