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:
parent
e8cc7b1dd6
commit
4a4b47979d
1 changed files with 2 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue