]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/combocmn.cpp
allow changing the page from keyboard in property sheet like controls even when the...
[wxWidgets.git] / src / common / combocmn.cpp
index 07ab83c061ac6705e47f1c58417431a0e198a252..b9792d8df82ce6f08038eb2aac335ff184e0af75 100644 (file)
@@ -492,19 +492,7 @@ void wxComboBoxExtraInputHandler::OnKey(wxKeyEvent& event)
              ( keycode != WXK_RIGHT && keycode != WXK_LEFT )
             )
         {
              ( 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();
         }
         else
             event.Skip();