Browse Source

RTAS: changed OSX Carbon window class.

tags/2021-05-28
jules 13 years ago
parent
commit
4a4b47979d
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      modules/juce_audio_plugin_client/RTAS/juce_RTAS_MacUtilities.mm

+ 2
- 0
modules/juce_audio_plugin_client/RTAS/juce_RTAS_MacUtilities.mm View File

@@ -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];


Loading…
Cancel
Save