hi there, maybe i’m too tired, but i do not get why i get this error:
error C2664: 'juce::TreeView::setRootItem': convert of Param 1 from 'ZoneGroup *' to 'juce::TreeViewItem *const ' not possible
(error message text translated from german, microsoft visual studio express 2005->
‘ZoneGroup’ inherits from ‘Zone’ wich inherits from ‘TreeViewItem’ , so ZoneGroup is/should be a ‘TreeViewItem’!? when ‘ZoneGroup’ inherits from ‘TreeViewItem’ directly, i get double inheritance confusion as expected
i tried to brutaly cast it, but it gives me a runtime error of course
i’m not use to the const pointer thing. i guess i have to do something in this direction. can you help me please?