wxDVC code depends on wxEVT_COMMAND_TEXT_ENTER to hide the
inline editing controls.
Fixes #13412.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@68927
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
{
wxTextCtrl* ctrl = new wxTextCtrl( parent, wxID_ANY, value,
wxPoint(labelRect.x,labelRect.y),
{
wxTextCtrl* ctrl = new wxTextCtrl( parent, wxID_ANY, value,
wxPoint(labelRect.x,labelRect.y),
- wxSize(labelRect.width,labelRect.height) );
+ wxSize(labelRect.width,labelRect.height),
+ wxTE_PROCESS_ENTER );
// select the text in the control an place the cursor at the end
ctrl->SetInsertionPointEnd();
// select the text in the control an place the cursor at the end
ctrl->SetInsertionPointEnd();
wxTextCtrl* ctrl = new wxTextCtrl( parent, wxID_ANY, text,
wxPoint(labelRect.x,labelRect.y),
wxTextCtrl* ctrl = new wxTextCtrl( parent, wxID_ANY, text,
wxPoint(labelRect.x,labelRect.y),
- wxSize(labelRect.width,labelRect.height) );
+ wxSize(labelRect.width,labelRect.height),
+ wxTE_PROCESS_ENTER );
// select the text in the control an place the cursor at the end
ctrl->SetInsertionPointEnd();
// select the text in the control an place the cursor at the end
ctrl->SetInsertionPointEnd();