Navigate corrections
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27815 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1987,7 +1987,12 @@ void wxTextCtrl::OnChar(wxKeyEvent& event)
|
||||
case WXK_TAB:
|
||||
if ( !(m_windowStyle & wxTE_PROCESS_TAB))
|
||||
{
|
||||
Navigate(!event.ShiftDown(), event.ControlDown());
|
||||
int flags = 0;
|
||||
if (!event.ShiftDown())
|
||||
flags |= wxNavigationKeyEvent::IsForward ;
|
||||
if (event.ControlDown())
|
||||
flags |= wxNavigationKeyEvent::WinChange ;
|
||||
Navigate(flags);
|
||||
return;
|
||||
}
|
||||
else
|
||||
|
Reference in New Issue
Block a user