I have wxGrid, in that for one cell there is a customized combobox.
like below
Code: Select all
wxString strFirstChoices[3] = { "Continuous", "Discrete", "Design Path" };
m_grid->SetCellRenderer(m_iRowCounter, 7, new wxGridCellChoiceRenderer);
m_grid->SetCellEditor(m_iRowCounter, 7, new wxFastComboEditor(3, strFirstChoices, true));
m_grid->SetCellValue(m_iRowCounter, 7, strFirstChoices[0]);
is there a way to do this?