Restore recently removed #include wx/textctrl.h in wx/combobox.h
Some existing code relies on wxEVT_TEXT being defined after including
just wx/combobox.h too, so just keep this formally unnecessary but by
now impossible to remove #include removed in d3eafa4d18
(Fix compilation
of wxFormBuilder-generated code using wxTE_XXX, 2021-07-14).
See #14132.
Closes #19264.
This commit is contained in:
parent
f4e0c76346
commit
bd423096df
@ -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[];
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user