Don't skip event if default processing has inserted a tab
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40929 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -999,6 +999,7 @@ void wxTextCtrl::OnChar(wxKeyEvent& event)
|
|||||||
// This is necessary (don't know why);
|
// This is necessary (don't know why);
|
||||||
// otherwise the tab will not be inserted.
|
// otherwise the tab will not be inserted.
|
||||||
WriteText(wxT("\t"));
|
WriteText(wxT("\t"));
|
||||||
|
eat_key = true;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user