+// ----------------------------------------------------------------------------
+// Auto-completion
+// ----------------------------------------------------------------------------
+
+bool wxTextEntry::DoAutoCompleteStrings(const wxArrayString& choices)
+{
+ wxTextCompleterFixed * const completer = new wxTextCompleterFixed;
+ completer->SetCompletions(choices);
+
+ return DoAutoCompleteCustom(completer);
+}
+
+bool wxTextEntry::DoAutoCompleteCustom(wxTextCompleter *completer)
+{
+ m_completer = completer;
+
+ return true;
+}
+