1
0
Fork 0
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:
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

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