From 33fb0e9d60431381ffee9fe07b33a42cba2c4c34 Mon Sep 17 00:00:00 2001 From: ed Date: Fri, 27 Jul 2018 09:15:49 +0100 Subject: [PATCH] Fixed an error in the documentation of ComboBox::setText() --- modules/juce_gui_basics/widgets/juce_ComboBox.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/juce_gui_basics/widgets/juce_ComboBox.h b/modules/juce_gui_basics/widgets/juce_ComboBox.h index 60107995b0..91eef85a01 100644 --- a/modules/juce_gui_basics/widgets/juce_ComboBox.h +++ b/modules/juce_gui_basics/widgets/juce_ComboBox.h @@ -240,7 +240,7 @@ public: The text passed-in will be set as the current text regardless of whether it is one of the items in the list. If the current text isn't one of the - items, then getSelectedId() will return -1, otherwise it wil return + items, then getSelectedId() will return 0, otherwise it wil return the approriate ID. @param newText the text to select