diff --git a/modules/juce_core/text/juce_LocalisedStrings.h b/modules/juce_core/text/juce_LocalisedStrings.h index acf1da8283..e3c666f80f 100644 --- a/modules/juce_core/text/juce_LocalisedStrings.h +++ b/modules/juce_core/text/juce_LocalisedStrings.h @@ -195,10 +195,11 @@ private: StringArray countryCodes; StringPairArray translations; ScopedPointer fallback; + friend struct ContainerDeletePolicy; void loadFromText (const String&, bool ignoreCase); - JUCE_LEAK_DETECTOR (LocalisedStrings) + JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (LocalisedStrings) }; //============================================================================== diff --git a/modules/juce_gui_basics/mouse/juce_ComponentDragger.h b/modules/juce_gui_basics/mouse/juce_ComponentDragger.h index f6c3147009..0bb5cbe378 100644 --- a/modules/juce_gui_basics/mouse/juce_ComponentDragger.h +++ b/modules/juce_gui_basics/mouse/juce_ComponentDragger.h @@ -75,10 +75,8 @@ public: /** Call this from your mouseDrag() callback to move the component. - This will move the component, but will first check the validity of the - component's new position using the checkPosition() method, which you - can override if you need to enforce special positioning limits on the - component. + This will move the component, using the given constrainer object to check + the new position. @param componentToDrag the component that you want to drag @param e the current mouse-drag event