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:
@@ -872,7 +872,9 @@ void wxListBox::OnChar(wxKeyEvent& event)
|
|||||||
}
|
}
|
||||||
else if ( event.KeyCode() == WXK_DOWN || event.KeyCode() == WXK_UP )
|
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
|
else
|
||||||
{
|
{
|
||||||
|
@@ -872,7 +872,9 @@ void wxListBox::OnChar(wxKeyEvent& event)
|
|||||||
}
|
}
|
||||||
else if ( event.KeyCode() == WXK_DOWN || event.KeyCode() == WXK_UP )
|
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
|
else
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user