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:
parent
8b9d9fa807
commit
867b485eb6
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user