Fix text text changed events sending in OS X combo box and text control.
authorVadim Zeitlin <vadim@wxwidgets.org>
Tue, 6 Apr 2010 18:46:29 +0000 (18:46 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Tue, 6 Apr 2010 18:46:29 +0000 (18:46 +0000)
commite567904ae6f502226659fac12f22b6a18beb2179
treee29a8eea048ef2a58392eb4b6af23486eb0460ee
parent501358073ba90c87257dd2c3a48a429f9c004f19
Fix text text changed events sending in OS X combo box and text control.

Don't duplicate needlessly wxTextEntry functionality in wxTextCtrl.

Don't clear the combobox text entry part twice in wxComboBox::DoClear(), it is
supposed to only clear the item container contents as the base class Clear()
already calls wxTextEntry::Clear().

Do send text updated events from wxTextEntry itself as it applies to
wxComboBox just as well as to wxTextCtrl.

The unit tests now pass under wxOSX/Cocoa, not breaking them again would be
appreciated.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63881 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
include/wx/osx/textctrl.h
src/osx/combobox_osx.cpp
src/osx/textctrl_osx.cpp
src/osx/textentry_osx.cpp