git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49782
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
if (m_allowOthers)
{
Combo()->SetValue(m_startValue);
if (m_allowOthers)
{
Combo()->SetValue(m_startValue);
+ Combo()->SetInsertionPointEnd();
+ else // the combobox is read-only
{
// find the right position, or default to the first if not found
int pos = Combo()->FindString(m_startValue);
{
// find the right position, or default to the first if not found
int pos = Combo()->FindString(m_startValue);
Combo()->SetSelection(pos);
}
Combo()->SetSelection(pos);
}
- Combo()->SetInsertionPointEnd();
Combo()->SetFocus();
if (evtHandler)
Combo()->SetFocus();
if (evtHandler)