mmg: append_combobox_items(): use Append for wxArrayString on wxWidgets > 3.0.0

This commit is contained in:
Moritz Bunkus 2013-12-27 11:52:54 +01:00
parent 52dd03f460
commit 48a94bc520

View File

@ -382,7 +382,7 @@ set_menu_label(wxFrame *frame,
void
append_combobox_items(wxMTX_COMBOBOX_TYPE *combo_box,
wxArrayString const &items) {
#if defined(USE_WXBITMAPCOMBOBOX)
#if defined(USE_WXBITMAPCOMBOBOX) && (wxGENERIC_BITMAPCOMBOBOX || !wxCHECK_VERSION(3, 0, 0))
for (auto const &item : items)
combo_box->Append(item);
#else // defined(USE_WXBITMAPCOMBOBOX)