]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/textentry.cpp
another file which needs wx/thread.h inclusion now
[wxWidgets.git] / src / msw / textentry.cpp
index 79c0fa201ed13207a37d362c7bf00f94bd2fb362..346791506e2bba02c0813b201ec945e3b2524fda 100644 (file)
@@ -51,7 +51,7 @@
 #include "wx/msw/ole/oleutils.h"
 #include <shldisp.h>
 
-#if defined(__MINGW32__)
+#if defined(__MINGW32__) || defined (__WATCOMC__)
     // needed for IID_IAutoComplete, IID_IAutoComplete2 and ACO_AUTOSUGGEST
     #include <shlguid.h>
 #endif
@@ -375,6 +375,8 @@ bool wxTextEntry::AutoComplete(const wxArrayString& choices)
     pAutoComplete->Release();
     return true;
 #else // !HAS_AUTOCOMPLETE
+    wxUnusedVar(choices);
+
     return false;
 #endif // HAS_AUTOCOMPLETE/!HAS_AUTOCOMPLETE
 }