]> git.saurik.com Git - wxWidgets.git/commitdiff
Don't skip after writing tab or we could get another one in some circumstances
authorJulian Smart <julian@anthemion.co.uk>
Wed, 21 Sep 2005 22:09:23 +0000 (22:09 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Wed, 21 Sep 2005 22:09:23 +0000 (22:09 +0000)
(when top parent is frame)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35641 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/textctrl.cpp

index 8e6a49e05fcbc129fc3abeb6dc6951423bcb573a..7f527da53ecafe6213aef0b90b6fa34a7a06a66d 100644 (file)
@@ -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;
     }