mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-02-06 04:00:08 +00:00
Minor additions to AlertWindow, tweak for 64-bit Atomics, minor clean-ups. Jucer development.
This commit is contained in:
parent
9ec78100e0
commit
87e416a278
34 changed files with 412 additions and 121 deletions
|
|
@ -63,10 +63,12 @@ void ChoicePropertyComponent::createComboBox (const Array <int>* choiceIDs)
|
|||
|
||||
addAndMakeVisible (comboBox = new ComboBox (String::empty));
|
||||
|
||||
int itemId = 0;
|
||||
|
||||
for (int i = 0; i < choices.size(); ++i)
|
||||
{
|
||||
if (choices[i].isNotEmpty())
|
||||
comboBox->addItem (choices[i], choiceIDs == 0 ? (i + 1)
|
||||
comboBox->addItem (choices[i], choiceIDs == 0 ? ++itemId
|
||||
: ((*choiceIDs)[i]));
|
||||
else
|
||||
comboBox->addSeparator();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue