Browse Source

Introjucer: fix for new command-line project wizard.

tags/2021-05-28
jules 13 years ago
parent
commit
6269df4823
1 changed files with 1 additions and 5 deletions
  1. +1
    -5
      extras/Introjucer/Source/Project/jucer_NewProjectWizard.cpp

+ 1
- 5
extras/Introjucer/Source/Project/jucer_NewProjectWizard.cpp View File

@@ -32,16 +32,12 @@
static void createFileCreationOptionComboBox (Component& setupComp, static void createFileCreationOptionComboBox (Component& setupComp,
OwnedArray<Component>& itemsCreated, OwnedArray<Component>& itemsCreated,
const char** types)
const char** fileOptions)
{ {
ComboBox* c = new ComboBox(); ComboBox* c = new ComboBox();
itemsCreated.add (c); itemsCreated.add (c);
setupComp.addChildAndSetID (c, "filesToCreate"); setupComp.addChildAndSetID (c, "filesToCreate");
const char* fileOptions[] = { "Create a Main.cpp file",
"Create a Main.cpp file and a basic window",
"Don't create any files", 0 };
c->addItemList (StringArray (fileOptions), 1); c->addItemList (StringArray (fileOptions), 1);
c->setSelectedId (1, false); c->setSelectedId (1, false);


Loading…
Cancel
Save