Browse Source

tags/2021-05-28
jules 18 years ago
parent
commit
21b75b3470
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      src/juce_appframework/application/juce_ApplicationCommandManager.cpp

+ 2
- 1
src/juce_appframework/application/juce_ApplicationCommandManager.cpp View File

@@ -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…
Cancel
Save