[ 1523907 ] Remove unnecessary wxComboCtrl window style.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40209 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -492,19 +492,7 @@ void wxComboBoxExtraInputHandler::OnKey(wxKeyEvent& event)
|
||||
( keycode != WXK_RIGHT && keycode != WXK_LEFT )
|
||||
)
|
||||
{
|
||||
// Alternate keys: UP and DOWN show the popup instead of cycling
|
||||
if ( (comboStyle & wxCC_ALT_KEYS) )
|
||||
{
|
||||
if ( keycode == WXK_UP || keycode == WXK_DOWN )
|
||||
{
|
||||
m_combo->OnButtonClick();
|
||||
return;
|
||||
}
|
||||
else
|
||||
event.Skip();
|
||||
}
|
||||
else
|
||||
popupInterface->OnComboKeyEvent(event);
|
||||
popupInterface->OnComboKeyEvent(event);
|
||||
}
|
||||
else
|
||||
event.Skip();
|
||||
|
Reference in New Issue
Block a user