mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-16 00:34:19 +00:00
Refactored some Drawable classes and added DrawableRectangle. Fixed a problem with ApplicationCommandManager.
This commit is contained in:
parent
618d3fdf64
commit
a25d9206d1
28 changed files with 1933 additions and 952 deletions
|
|
@ -190,14 +190,12 @@ bool ApplicationCommandManager::invoke (const ApplicationCommandTarget::Invocati
|
|||
// manager first..
|
||||
jassert (MessageManager::getInstance()->currentThreadHasLockedMessageManager());
|
||||
|
||||
ApplicationCommandTarget* const target = getFirstCommandTarget (info_.commandID);
|
||||
ApplicationCommandInfo commandInfo (0);
|
||||
ApplicationCommandTarget* const target = getTargetForCommand (info_.commandID, commandInfo);
|
||||
|
||||
if (target == 0)
|
||||
return false;
|
||||
|
||||
ApplicationCommandInfo commandInfo (0);
|
||||
target->getCommandInfo (info_.commandID, commandInfo);
|
||||
|
||||
ApplicationCommandTarget::InvocationInfo info (info_);
|
||||
info.commandFlags = commandInfo.flags;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue