Add support for dynamic auto-completion in wxTextEntry.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sat, 16 Apr 2011 17:27:16 +0000 (17:27 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sat, 16 Apr 2011 17:27:16 +0000 (17:27 +0000)
commitea98f11c2fbcd33ffc9b9771b8046c7353f51fcf
tree0cc0587e011d4dfe745524a7f6c3a86fac26c104
parent6b30ffedb18b86329fdc41ac1be27bc85bd758ff
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
15 files changed:
Makefile.in
build/bakefiles/files.bkl
build/msw/wx_core.dsp
build/msw/wx_vc7_core.vcproj
build/msw/wx_vc8_core.vcproj
build/msw/wx_vc9_core.vcproj
docs/changes.txt
include/wx/msw/textentry.h
include/wx/textcompleter.h [new file with mode: 0644]
include/wx/textentry.h
interface/wx/textcompleter.h [new file with mode: 0644]
interface/wx/textentry.h
samples/widgets/widgets.cpp
src/common/textentrycmn.cpp
src/msw/textentry.cpp