[ 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:
@@ -461,7 +461,7 @@ void wxComboBoxExtraInputHandler::OnKey(wxKeyEvent& event)
|
|||||||
{
|
{
|
||||||
int keycode = event.GetKeyCode();
|
int keycode = event.GetKeyCode();
|
||||||
|
|
||||||
if ( keycode == WXK_TAB )
|
if ( keycode == WXK_TAB && !m_combo->IsPopupShown() )
|
||||||
{
|
{
|
||||||
wxNavigationKeyEvent evt;
|
wxNavigationKeyEvent evt;
|
||||||
evt.SetFlags(wxNavigationKeyEvent::FromTab|
|
evt.SetFlags(wxNavigationKeyEvent::FromTab|
|
||||||
|
Reference in New Issue
Block a user