git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27812
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
case WXK_TAB:
if ( !(m_windowStyle & wxTE_PROCESS_TAB))
{
case WXK_TAB:
if ( !(m_windowStyle & wxTE_PROCESS_TAB))
{
- if (Navigate(!event.ShiftDown(), event.ControlDown()))
- return;
+ Navigate(!event.ShiftDown(), event.ControlDown());
+ return;
+ }
+ else
+ {
+ // This is necessary (don't know why) or the tab will not
+ // be inserted.
+ WriteText(wxT("\t"));
case WXK_TAB:
if ( !(m_windowStyle & wxTE_PROCESS_TAB))
{
case WXK_TAB:
if ( !(m_windowStyle & wxTE_PROCESS_TAB))
{
- if (Navigate(!event.ShiftDown(), event.ControlDown()))
- return;
+ Navigate(!event.ShiftDown(), event.ControlDown());
+ return;
+ }
+ else
+ {
+ // This is necessary (don't know why) or the tab will not
+ // be inserted.
+ WriteText(wxT("\t"));