X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e2fc2bd51c2351f3cb7e289bb397efbb60b8cbc5..856b41f96c08d3a5620435aca1c4f26b444ece9a:/src/msw/textentry.cpp?ds=inline diff --git a/src/msw/textentry.cpp b/src/msw/textentry.cpp index b763b5de8e..4ea98d5bb0 100644 --- a/src/msw/textentry.cpp +++ b/src/msw/textentry.cpp @@ -287,6 +287,7 @@ void wxTextEntry::GetSelection(long *from, long *to) const // auto-completion // ---------------------------------------------------------------------------- +#if wxUSE_OLE bool wxTextEntry::AutoCompleteFileNames() { #ifdef HAS_AUTOCOMPLETE @@ -378,6 +379,7 @@ bool wxTextEntry::AutoComplete(const wxArrayString& choices) return false; #endif // HAS_AUTOCOMPLETE/!HAS_AUTOCOMPLETE } +#endif // wxUSE_OLE // ---------------------------------------------------------------------------- // editable state