diff --git a/interface/wx/choice.h b/interface/wx/choice.h index 4af7870e8d..50cd202753 100644 --- a/interface/wx/choice.h +++ b/interface/wx/choice.h @@ -30,7 +30,8 @@ @see wxListBox, wxComboBox, wxCommandEvent */ -class wxChoice : public wxControlWithItems +class wxChoice : public wxControl, + public wxItemContainer { public: /** diff --git a/interface/wx/listbox.h b/interface/wx/listbox.h index 8b0ae24efc..538223e6f4 100644 --- a/interface/wx/listbox.h +++ b/interface/wx/listbox.h @@ -71,7 +71,8 @@ @see wxEditableListBox, wxChoice, wxComboBox, wxListCtrl, wxCommandEvent */ -class wxListBox : public wxControlWithItems +class wxListBox : public wxControl, + public wxItemContainer { public: /**