mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Changed depcrecated use of old dragOperationStarted/Ended to be an error instead of a warning
This commit is contained in:
parent
b5fb095696
commit
d91b07ccc3
1 changed files with 7 additions and 2 deletions
|
|
@ -181,8 +181,13 @@ private:
|
|||
friend struct ContainerDeletePolicy<DragImageComponent>;
|
||||
ScopedPointer<DragImageComponent> dragImageComponent;
|
||||
|
||||
JUCE_DEPRECATED_WITH_BODY (virtual void dragOperationStarted (), {});
|
||||
JUCE_DEPRECATED_WITH_BODY (virtual void dragOperationEnded (), {});
|
||||
#if JUCE_CATCH_DEPRECATED_CODE_MISUSE
|
||||
// This is just here to cause a compile error in old code that hasn't been changed to use the new
|
||||
// version of this method.
|
||||
virtual int dragOperationStarted() { return 0; }
|
||||
virtual int dragOperationEnded() { return 0; }
|
||||
#endif
|
||||
|
||||
JUCE_DEPRECATED_WITH_BODY (virtual bool shouldDropFilesWhenDraggedExternally (const String&, Component*, StringArray&, bool&), { return false; })
|
||||
|
||||
JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (DragAndDropContainer)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue