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:
Julian Smart
2006-08-30 12:47:29 +00:00
parent ab75fdbdcd
commit 4e6cc020c3

View File

@@ -999,6 +999,7 @@ void wxTextCtrl::OnChar(wxKeyEvent& event)
// This is necessary (don't know why);
// otherwise the tab will not be inserted.
WriteText(wxT("\t"));
eat_key = true;
}
break;