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

Added FakeMouseMoveGenerator to AAX plug-ins so that the recent plug-in mouse exit fix also works for AAX plug-ins

This commit is contained in:
hogliux 2017-09-01 15:06:32 +01:00
parent 86f9c11d15
commit 7d98da98ea

View file

@ -32,6 +32,7 @@
#include "../utility/juce_IncludeSystemHeaders.h"
#include "../utility/juce_IncludeModuleHeaders.h"
#include "../utility/juce_WindowsHooks.h"
#include "../utility/juce_FakeMouseMoveGenerator.h"
#ifdef __clang__
#pragma clang diagnostic push
@ -469,6 +470,8 @@ namespace AAXClasses
setBounds (pluginEditor->getLocalBounds());
pluginEditor->addMouseListener (this, true);
}
ignoreUnused (fakeMouseGenerator);
}
~ContentWrapperComponent()
@ -526,6 +529,7 @@ namespace AAXClasses
#if JUCE_WINDOWS
WindowsHooks hooks;
#endif
FakeMouseMoveGenerator fakeMouseGenerator;
JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (ContentWrapperComponent)
};