From: Vadim Zeitlin Date: Thu, 21 Apr 2011 23:43:27 +0000 (+0000) Subject: Define ACO_AUTOAPPEND for MinGW/Cygwin. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/0f0c5856e0bb5e892e83527f9967219f33dc71a2?ds=inline Define ACO_AUTOAPPEND for MinGW/Cygwin. Apparently this symbol is not defined in MinGW headers neither, so do it ourselves as well. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67570 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/msw/textentry.cpp b/src/msw/textentry.cpp index 3409106702..ba18dd0445 100644 --- a/src/msw/textentry.cpp +++ b/src/msw/textentry.cpp @@ -59,6 +59,10 @@ #if defined(__MINGW32__) || defined (__WATCOMC__) || defined(__CYGWIN__) // needed for IID_IAutoComplete, IID_IAutoComplete2 and ACO_AUTOSUGGEST #include + + #ifndef ACO_AUTOAPPEND + #define ACO_AUTOAPPEND 0x02 + #endif #endif #ifndef ACO_UPDOWNKEYDROPSLIST