git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62129
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
{
m_textCtrl->SetValue(text);
m_textCtrl->SetSelection(0, -1);
+ m_textCtrl->SetInsertionPointEnd();
}
}
m_value = val;
str.ToDouble( &m_value ); // wysiwyg for textctrl
m_textCtrl->SetValue( str );
+ m_textCtrl->SetInsertionPointEnd();
m_textCtrl->DiscardEdits();
return true;
}
// select all text
m_text->SetSelection(0, -1);
+ m_text->SetInsertionPointEnd();
+
// and give focus to the control!
// m_text->SetFocus(); Why???? TODO.
}