mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-15 00:24:19 +00:00
Refactored the DragAndDropTarget callback methods, to replace the parameters with a structure. This also affects the TreeViewItem drag-and-drop callback methods.
This commit is contained in:
parent
d97ce5f9ee
commit
f4c4f310e1
22 changed files with 458 additions and 361 deletions
|
|
@ -244,7 +244,7 @@ ApplicationCommandTarget* ApplicationCommandManager::findTargetForComponent (Com
|
|||
|
||||
if (target == nullptr && c != nullptr)
|
||||
// (unable to use the syntax findParentComponentOfClass <ApplicationCommandTarget> () because of a VC6 compiler bug)
|
||||
target = c->findParentComponentOfClass ((ApplicationCommandTarget*) 0);
|
||||
target = c->findParentComponentOfClass ((ApplicationCommandTarget*) nullptr);
|
||||
|
||||
return target;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue