1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-25 02:04:23 +00:00

Fixed some namespace issues with png and zlib. Changed the way the DBG macro works to allow expressions like DBG ("foo" << 123 << "bar"), so that it's easier to dump out numbers.

This commit is contained in:
Julian Storer 2010-08-02 11:33:05 +01:00
parent dcaa6ceb36
commit d033a859ef
13 changed files with 98 additions and 111 deletions

View file

@ -242,8 +242,12 @@ void ProjectTreeViewBase::deleteAllSelectedItems()
for (i = itemsToRemove.size(); --i >= 0;)
{
ProjectTreeViewBase* itemToRemove = treeRootItem->findTreeViewItem (*itemsToRemove.getUnchecked(i));
if (itemToRemove != 0)
{
OpenDocumentManager::getInstance()->closeFile (itemToRemove->getFile(), false);
itemToRemove->deleteItem();
}
}
}
}