mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
macOS AUv3: Fixed a warning in previous commit when building AUv3 on macOS
This commit is contained in:
parent
a15209b45f
commit
039a65913c
1 changed files with 7 additions and 0 deletions
|
|
@ -1670,7 +1670,12 @@ public:
|
|||
JUCE_IOS_MAC_VIEW* view = [[[JUCE_IOS_MAC_VIEW alloc] initWithFrame: convertToCGRect (editor->getBounds())] autorelease];
|
||||
[myself setView: view];
|
||||
|
||||
#if JUCE_IOS
|
||||
editor->setVisible (false);
|
||||
#else
|
||||
editor->setVisible (true);
|
||||
#endif
|
||||
|
||||
editor->addToDesktop (0, view);
|
||||
}
|
||||
}
|
||||
|
|
@ -1807,8 +1812,10 @@ private:
|
|||
- (CGSize) preferredContentSize { return cpp->getPreferredContentSize(); }
|
||||
- (void) viewDidLayoutSubviews { cpp->viewDidLayoutSubviews(); }
|
||||
- (void) didReceiveMemoryWarning { cpp->didReceiveMemoryWarning(); }
|
||||
#if JUCE_IOS
|
||||
- (void) viewDidAppear: (BOOL) animated { cpp->viewDidAppear (animated); [super viewDidAppear:animated]; }
|
||||
- (void) viewDidDisappear: (BOOL) animated { cpp->viewDidDisappear (animated); [super viewDidDisappear:animated]; }
|
||||
#endif
|
||||
@end
|
||||
|
||||
//==============================================================================
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue