Implement auto-completion support for wxTextEntry in wxOSX/Cocoa.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 17 Apr 2011 23:14:15 +0000 (23:14 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 17 Apr 2011 23:14:15 +0000 (23:14 +0000)
commitc729f16fa54e8484d8600fcb423c0983d71abab2
tree59032c9b28273853d2450dfe7dce2836adaa5966
parented7dda9251cb9dd224fcfabcf067520992b18b88
Implement auto-completion support for wxTextEntry in wxOSX/Cocoa.

Both completing a set of fixed strings and dynamic completion using a custom
completer are supported, although completing the file names remains MSW-only
for now.

Note that, unlike under MSW, auto-completion under Mac is not automatic and
has to be triggered manually by calling complete: method. This is done by
pressing F5 key by default. In the future we should call it automatically on a
timer event to make it more obviously discoverable.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67526 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
docs/changes.txt
include/wx/osx/textentry.h
interface/wx/textentry.h
src/osx/cocoa/textctrl.mm
src/osx/textentry_osx.cpp