1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

Changed the var class to be able to hold any ReferenceCountedObject rather than just a DynamicObject. Altered the drag-and-drop classes to use a var instead of a String as the drag description. This affects the getDragSourceDescription() methods in the TreeViewItem, ListBoxModel and TableListBoxModel classes, which now return a var instead of a String.

This commit is contained in:
Julian Storer 2011-04-14 20:13:12 +01:00
parent f4c4f310e1
commit e9bdd1d637
23 changed files with 458 additions and 481 deletions

View file

@ -86,7 +86,7 @@ public:
const String getUniqueName() const { return file.getFullPathName(); }
int getItemHeight() const { return 22; }
const String getDragSourceDescription() { return owner.getDragAndDropDescription(); }
const var getDragSourceDescription() { return owner.getDragAndDropDescription(); }
void itemOpennessChanged (bool isNowOpen)
{