]> git.saurik.com Git - wxWidgets.git/commitdiff
Define ACO_AUTOAPPEND for MinGW/Cygwin.
authorVadim Zeitlin <vadim@wxwidgets.org>
Thu, 21 Apr 2011 23:43:27 +0000 (23:43 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Thu, 21 Apr 2011 23:43:27 +0000 (23:43 +0000)
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

src/msw/textentry.cpp

index 34091067020a49955d2471139ef88cb61ea59775..ba18dd0445c5f317dbc7053ca2422e0c07a26184 100644 (file)
 #if defined(__MINGW32__) || defined (__WATCOMC__) || defined(__CYGWIN__)
     // needed for IID_IAutoComplete, IID_IAutoComplete2 and ACO_AUTOSUGGEST
     #include <shlguid.h>
+
+    #ifndef ACO_AUTOAPPEND
+        #define ACO_AUTOAPPEND 0x02
+    #endif
 #endif
 
 #ifndef ACO_UPDOWNKEYDROPSLIST