changed handling to skip in order to have default handling working

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15911 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor
2002-06-21 16:05:46 +00:00
parent ca4532668c
commit f11afffe01
2 changed files with 6 additions and 2 deletions

View File

@@ -872,7 +872,9 @@ void wxListBox::OnChar(wxKeyEvent& event)
}
else if ( event.KeyCode() == WXK_DOWN || event.KeyCode() == WXK_UP )
{
::HandleControlKey( (ControlHandle) m_macControl , keycode , keychar , ev->modifiers ) ;
// default handling
event.Skip() ;
// ::HandleControlKey( (ControlHandle) m_macControl , keycode , keychar , ev->modifiers ) ;
}
else
{

View File

@@ -872,7 +872,9 @@ void wxListBox::OnChar(wxKeyEvent& event)
}
else if ( event.KeyCode() == WXK_DOWN || event.KeyCode() == WXK_UP )
{
::HandleControlKey( (ControlHandle) m_macControl , keycode , keychar , ev->modifiers ) ;
// default handling
event.Skip() ;
// ::HandleControlKey( (ControlHandle) m_macControl , keycode , keychar , ev->modifiers ) ;
}
else
{