diff --git a/include/wx/combobox.h b/include/wx/combobox.h index 393d1ba599..35d7368c60 100644 --- a/include/wx/combobox.h +++ b/include/wx/combobox.h @@ -15,6 +15,10 @@ #if wxUSE_COMBOBOX +// For compatibility with 2.8 include this header to allow using wxTE_XXX +// styles with wxComboBox without explicitly including it in the user code. +#include "wx/textctrl.h" + extern WXDLLIMPEXP_DATA_CORE(const char) wxComboBoxNameStr[]; // ----------------------------------------------------------------------------