Add support for dynamic auto-completion in wxTextEntry.
Add wxTextCompleter class which allows to return the possible completions dynamically and wxTextCompleter::AutoComplete() overload using it. So far this is only implemented for wxMSW. Also fix calling wxTextEntry::AutoComplete(wxArrayString) multiple times under MSW, this didn't correctly update the list of shown completions before. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67511 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -6741,6 +6741,10 @@ SOURCE=..\..\include\wx\tbarbase.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\..\include\wx\textcompleter.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\..\include\wx\textctrl.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
@@ -5643,6 +5643,9 @@
|
||||
RelativePath="..\..\include\wx\tbarbase.h">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\include\wx\textcompleter.h">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\include\wx\textctrl.h">
|
||||
</File>
|
||||
<File
|
||||
|
@@ -7544,6 +7544,10 @@
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\include\wx\textcompleter.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\include\wx\textctrl.h"
|
||||
>
|
||||
</File>
|
||||
|
@@ -7540,6 +7540,10 @@
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\include\wx\textcompleter.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\include\wx\textctrl.h"
|
||||
>
|
||||
</File>
|
||||
|
Reference in New Issue
Block a user