fix unused variable warning if !HAS_AUTOCOMPLETE

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50637 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2007-12-11 12:38:25 +00:00
parent 8b9d9fa807
commit 867b485eb6

View File

@ -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
}