diff --git a/include/wx/textctrl.h b/include/wx/textctrl.h index 5701847e56..582cf855cc 100644 --- a/include/wx/textctrl.h +++ b/include/wx/textctrl.h @@ -46,6 +46,10 @@ #endif // wxUSE_STD_IOSTREAM/!wxUSE_STD_IOSTREAM #endif +#if defined(__WXMSW__) && defined(__MINGW32__) + #include "wx/msw/winundef.h" +#endif + class WXDLLEXPORT wxTextCtrl; class WXDLLEXPORT wxTextCtrlBase;