X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/69da0d99464a82aae30dcb704c98bc9b4e7b095b..70fb935a6a52fd27b288f4885c55cddf038b89f1:/utils/configtool/src/propeditor.cpp diff --git a/utils/configtool/src/propeditor.cpp b/utils/configtool/src/propeditor.cpp index 94220446de..1bf8c2023e 100644 --- a/utils/configtool/src/propeditor.cpp +++ b/utils/configtool/src/propeditor.cpp @@ -313,12 +313,16 @@ bool ctPropertyEditor::DisplayProperty(int row, ctProperty* prop, bool valueOnly // Set the value type if (prop->GetEditorType() == _T("choice")) { +#if 0 wxString* strArr = prop->GetChoices().GetStringArray(); m_attributeEditorGrid->SetCellEditor(row, 1, new wxGridCellChoiceEditor(prop->GetChoices().GetCount(), strArr)); delete[] strArr; +#endif + m_attributeEditorGrid->SetCellEditor(row, 1, + new wxGridCellChoiceEditor(prop->GetChoices())); } else if (prop->GetEditorType() == _T("integer") || prop->GetVariant().GetType() == _T("long")) {