From ca42bdaeb470c03f12cdf32d09b62bdd966fdb5e Mon Sep 17 00:00:00 2001 From: jules Date: Wed, 1 Jan 2014 16:20:25 +0000 Subject: [PATCH] Documentation update + Xcode 3 compiler fix. --- modules/juce_core/text/juce_LocalisedStrings.h | 3 ++- modules/juce_gui_basics/mouse/juce_ComponentDragger.h | 6 ++---- 2 files changed, 4 insertions(+), 5 deletions(-) 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