mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-14 00:14:18 +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
|
|
@ -74,7 +74,7 @@ ApplicationCommandTarget* ApplicationCommandTarget::findFirstTargetParentCompone
|
|||
|
||||
if (c != nullptr)
|
||||
// (unable to use the syntax findParentComponentOfClass <ApplicationCommandTarget> () because of a VC6 compiler bug)
|
||||
return c->findParentComponentOfClass ((ApplicationCommandTarget*) 0);
|
||||
return c->findParentComponentOfClass ((ApplicationCommandTarget*) nullptr);
|
||||
|
||||
return nullptr;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue