From 4a4b47979dfea1d405048b2926fa8518fc2c5fcd Mon Sep 17 00:00:00 2001 From: jules Date: Sun, 3 Feb 2013 13:39:39 +0000 Subject: [PATCH] RTAS: changed OSX Carbon window class. --- modules/juce_audio_plugin_client/RTAS/juce_RTAS_MacUtilities.mm | 2 ++ 1 file changed, 2 insertions(+) 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];