Juce::Component::contains(*) should be marked const


juce::Component::contains(*) should be marked const

otherwise it cant be used when evaluating something like const juce::DragAndDropTarget::SourceDetails

i.e. DragAndDropTarget::isInterestedInDragSource


Actually every method that only asks for some const stuff (without modifying the object) should be marked const.



That would seem sensible, but it has to call hitTest, which is virtual and non-const, so it can't really promise to be a const operation..