added wxTextEntry::AutoCompleteFileNames() and implemented it for wxMSW

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49634 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2007-11-04 23:08:26 +00:00
parent ecaed0bcda
commit 59396417d3
5 changed files with 86 additions and 2 deletions

View File

@@ -98,7 +98,20 @@ public:
// auto-completion
// ---------------
virtual void AutoComplete(const wxArrayString& WXUNUSED(choices)) { }
// these functions allow to auto-complete the text already entered into the
// control using either the given fixed list of strings, the paths from the
// file system or, in the future, an arbitrary user-defined completer
//
// they all return true if completion was enabled or false on error (most
// commonly meaning that this functionality is not available under the
// current platform)
virtual bool AutoComplete(const wxArrayString& WXUNUSED(choices))
{
return false;
}
virtual bool AutoCompleteFileNames() { return false; }
// status