Browse Source

Documentation update + Xcode 3 compiler fix.

tags/2021-05-28
jules 11 years ago
parent
commit
ca42bdaeb4
2 changed files with 4 additions and 5 deletions
  1. +2
    -1
      modules/juce_core/text/juce_LocalisedStrings.h
  2. +2
    -4
      modules/juce_gui_basics/mouse/juce_ComponentDragger.h

+ 2
- 1
modules/juce_core/text/juce_LocalisedStrings.h View File

@@ -195,10 +195,11 @@ private:
StringArray countryCodes; StringArray countryCodes;
StringPairArray translations; StringPairArray translations;
ScopedPointer<LocalisedStrings> fallback; ScopedPointer<LocalisedStrings> fallback;
friend struct ContainerDeletePolicy<LocalisedStrings>;
void loadFromText (const String&, bool ignoreCase); void loadFromText (const String&, bool ignoreCase);
JUCE_LEAK_DETECTOR (LocalisedStrings)
JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (LocalisedStrings)
}; };
//============================================================================== //==============================================================================


+ 2
- 4
modules/juce_gui_basics/mouse/juce_ComponentDragger.h View File

@@ -75,10 +75,8 @@ public:
/** Call this from your mouseDrag() callback to move the component. /** 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 componentToDrag the component that you want to drag
@param e the current mouse-drag event @param e the current mouse-drag event


Loading…
Cancel
Save