From 32bd17fcb5c038bb4e64ac1b849cbb8175f29cad Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sat, 16 Apr 2011 23:17:44 +0000 Subject: [PATCH] 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 --- src/msw/textentry.cpp | 5 +++++ 1 file changed, 5 insertions(+) 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 -- 2.45.2