[ 1522987 ] wxComboCtrl crashes if TAB is pressed while popup is open

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40157 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Włodzimierz Skiba
2006-07-17 07:40:04 +00:00
parent fe02c2c2dd
commit 6012f61212

View File

@@ -461,7 +461,7 @@ void wxComboBoxExtraInputHandler::OnKey(wxKeyEvent& event)
{
int keycode = event.GetKeyCode();
if ( keycode == WXK_TAB )
if ( keycode == WXK_TAB && !m_combo->IsPopupShown() )
{
wxNavigationKeyEvent evt;
evt.SetFlags(wxNavigationKeyEvent::FromTab|