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:
@@ -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
|
||||
|
Reference in New Issue
Block a user