Make the wxComboCtrl's wxTextEntry interface more complete and consistent. All text is no longer selected on SetValue(), but only when user selects an item from the drop-down list.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@66394 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Jaakko Salli
2010-12-17 11:20:50 +00:00
parent 708cc39462
commit 0306e73e63
3 changed files with 88 additions and 26 deletions

View File

@@ -228,7 +228,7 @@ void wxVListBoxComboPopup::DismissWithEvent()
m_stringValue = wxEmptyString;
if ( m_stringValue != m_combo->GetValue() )
m_combo->SetValueWithEvent(m_stringValue);
m_combo->SetValueByUser(m_stringValue);
m_value = selection;