1
0
Fork 0
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:
Julian Storer 2011-04-14 13:33:01 +01:00
parent d97ce5f9ee
commit f4c4f310e1
22 changed files with 458 additions and 361 deletions

View file

@ -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;
}