diff --git a/modules/juce_audio_plugin_client/RTAS/juce_RTAS_MacUtilities.mm b/modules/juce_audio_plugin_client/RTAS/juce_RTAS_MacUtilities.mm index 6f28e0f8cc..bdfd273079 100644 --- a/modules/juce_audio_plugin_client/RTAS/juce_RTAS_MacUtilities.mm +++ b/modules/juce_audio_plugin_client/RTAS/juce_RTAS_MacUtilities.mm @@ -52,6 +52,8 @@ void* attachSubWindow (void* hostWindowRef, Component* comp) { JUCE_AUTORELEASEPOOL + HIWindowChangeClass ((WindowRef) hostWindowRef, kFloatingWindowClass); + NSWindow* hostWindow = [[NSWindow alloc] initWithWindowRef: hostWindowRef]; [hostWindow retain]; [hostWindow setCanHide: YES];