1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-14 00:14:18 +00:00

(Fixed mistake in last commit)

This commit is contained in:
jules 2016-04-08 16:20:56 +01:00
parent 32178f4a1f
commit 7d178feb0c

View file

@ -60,16 +60,6 @@
namespace juce
{
#if JUCE_IOS
#define JUCE_IOS_MAC_VIEW UIView
typedef UIViewComponent ViewComponentBaseClass;
#elif JUCE_MAC
#define JUCE_IOS_MAC_VIEW NSView
typedef NSViewComponent ViewComponentBaseClass;
#else
#error
#endif
static inline bool arrayContainsPlugin (const OwnedArray<PluginDescription>& list,
const PluginDescription& desc)
{
@ -82,6 +72,14 @@ static inline bool arrayContainsPlugin (const OwnedArray<PluginDescription>& lis
#if JUCE_MAC || JUCE_IOS
#if JUCE_IOS
#define JUCE_IOS_MAC_VIEW UIView
typedef UIViewComponent ViewComponentBaseClass;
#else
#define JUCE_IOS_MAC_VIEW NSView
typedef NSViewComponent ViewComponentBaseClass;
#endif
//==============================================================================
struct AutoResizingNSViewComponent : public ViewComponentBaseClass,
private AsyncUpdater