mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-15 00:24:19 +00:00
This commit is contained in:
parent
c760e69648
commit
21b75b3470
1 changed files with 2 additions and 1 deletions
|
|
@ -38,6 +38,7 @@ BEGIN_JUCE_NAMESPACE
|
|||
#include "../gui/components/keyboard/juce_KeyPressMappingSet.h"
|
||||
#include "../gui/components/windows/juce_ResizableWindow.h"
|
||||
#include "../gui/components/juce_Desktop.h"
|
||||
#include "../events/juce_MessageManager.h"
|
||||
|
||||
|
||||
//==============================================================================
|
||||
|
|
@ -192,7 +193,7 @@ bool ApplicationCommandManager::invoke (const ApplicationCommandTarget::Invocati
|
|||
{
|
||||
// This call isn't thread-safe for use from a non-UI thread without locking the message
|
||||
// manager first..
|
||||
checkMessageManagerIsLocked
|
||||
jassert (MessageManager::getInstance()->currentThreadHasLockedMessageManager());
|
||||
|
||||
ApplicationCommandTarget* const target = getFirstCommandTarget (info_.commandID);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue