From: Julian Smart Date: Wed, 21 Sep 2005 22:09:23 +0000 (+0000) Subject: Don't skip after writing tab or we could get another one in some circumstances X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/d1fd98ccd8ec13c69d29493a20349d3548a3f616 Don't skip after writing tab or we could get another one in some circumstances (when top parent is frame) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35641 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/msw/textctrl.cpp b/src/msw/textctrl.cpp index 8e6a49e05f..7f527da53e 100644 --- a/src/msw/textctrl.cpp +++ b/src/msw/textctrl.cpp @@ -1776,6 +1776,7 @@ void wxTextCtrl::OnChar(wxKeyEvent& event) // Insert tab since calling the default Windows handler // doesn't seem to do it WriteText(wxT("\t")); + return; } break; }