mirror of
https://gitlab.com/mbunkus/mkvtoolnix.git
synced 2025-01-18 16:04:52 +00:00
mmg: append_combobox_items(): use Append for wxArrayString on wxWidgets > 3.0.0
This commit is contained in:
parent
52dd03f460
commit
48a94bc520
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user