]> git.saurik.com Git - wxWidgets.git/commitdiff
Don't skip event if default processing has inserted a tab
authorJulian Smart <julian@anthemion.co.uk>
Wed, 30 Aug 2006 12:47:29 +0000 (12:47 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Wed, 30 Aug 2006 12:47:29 +0000 (12:47 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40929 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/mac/carbon/textctrl.cpp

index 4c4096ecba47a3ab95cfb6e84253992fa36830ba..0fbd547e59f423324b1562a4670643c1c98bcb72 100644 (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;