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:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user