From: Stefan Csomor Date: Fri, 21 Jun 2002 16:05:46 +0000 (+0000) Subject: changed handling to skip in order to have default handling working X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/f11afffe0185c11de54b886f6fe7b18272635d9a 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 --- diff --git a/src/mac/carbon/listbox.cpp b/src/mac/carbon/listbox.cpp index 557d05f213..2d8471f00e 100644 --- a/src/mac/carbon/listbox.cpp +++ b/src/mac/carbon/listbox.cpp @@ -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 { diff --git a/src/mac/listbox.cpp b/src/mac/listbox.cpp index 557d05f213..2d8471f00e 100644 --- a/src/mac/listbox.cpp +++ b/src/mac/listbox.cpp @@ -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 {