1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

RTAS: changed OSX Carbon window class.

This commit is contained in:
jules 2013-02-03 13:39:39 +00:00
parent e8cc7b1dd6
commit 4a4b47979d

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