Browse Source

Moved a method in LengthAndCharacterRestriction to be public.

tags/2021-05-28
jules 9 years ago
parent
commit
fcf1683f48
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      modules/juce_gui_basics/widgets/juce_TextEditor.h

+ 2
- 2
modules/juce_gui_basics/widgets/juce_TextEditor.h View File

@@ -554,12 +554,12 @@ public:
*/
LengthAndCharacterRestriction (int maxNumChars, const String& allowedCharacters);
String filterNewText (TextEditor&, const String&) override;
private:
String allowedCharacters;
int maxLength;
String filterNewText (TextEditor&, const String&) override;
JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (LengthAndCharacterRestriction)
};


Loading…
Cancel
Save