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

Made ListenerList.callExcluding take a pointer argument

This commit is contained in:
tpoole 2017-05-02 22:09:39 +01:00
parent c94550e4cd
commit 2a189100d7
3 changed files with 31 additions and 34 deletions

View file

@ -96,10 +96,7 @@ public:
{
ValueTree tree (this);
if (listenerToExclude == nullptr)
callListenersForAllParents ([&] (ListenerList<Listener>& list) { list.call (&ValueTree::Listener::valueTreePropertyChanged, tree, property); });
else
callListenersForAllParents ([&] (ListenerList<Listener>& list) { list.callExcluding (*listenerToExclude, &ValueTree::Listener::valueTreePropertyChanged, tree, property); });
callListenersForAllParents ([&] (ListenerList<Listener>& list) { list.callExcluding (listenerToExclude, &ValueTree::Listener::valueTreePropertyChanged, tree, property); });
}
void sendChildAddedMessage (ValueTree child)