From: Vadim Zeitlin Date: Sat, 16 Apr 2011 23:17:44 +0000 (+0000) Subject: Define wxTextEntry::DoAutoCompleteStrings() stub in wxMSW code too. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/32bd17fcb5c038bb4e64ac1b849cbb8175f29cad?ds=sidebyside Define wxTextEntry::DoAutoCompleteStrings() stub in wxMSW code too. Forgot to define this function in !HAS_AUTOCOMPLETE case. This fixes linking problems with old compilers/headers such as VC6 with its original SDK. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67518 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/msw/textentry.cpp b/src/msw/textentry.cpp index 4d5b2785b0..be0e6dbb45 100644 --- a/src/msw/textentry.cpp +++ b/src/msw/textentry.cpp @@ -844,6 +844,11 @@ bool wxTextEntry::DoAutoCompleteStrings(const wxArrayString& choices) return wxTextEntryBase::DoAutoCompleteStrings(choices); } +bool wxTextEntry::DoAutoCompleteCustom(wxTextCompleter *completer) +{ + return wxTextCompleter::DoAutoCompleteCustom(completer); +} + #endif // HAS_AUTOCOMPLETE/!HAS_AUTOCOMPLETE #endif // wxUSE_OLE