#include "wx/combobox.h" // wxComboControl
#include "wx/app.h" // wxPostEvent
#include "wx/log.h"
+ #include "wx/app.h"
#endif //WX_PRECOMP
#ifdef __WXUNIVERSAL__
// wxPopupComboWindow
// ----------------------------------------------------------------------------
+BEGIN_EVENT_TABLE(wxPopupComboWindow, wxPopupTransientWindow)
+ EVT_KEY_DOWN(wxPopupComboWindow::OnKeyDown)
+END_EVENT_TABLE()
+
wxPopupComboWindow::wxPopupComboWindow(wxComboControl *parent)
: wxPopupTransientWindow(parent)
{
m_combo->OnDismiss();
}
+void wxPopupComboWindow::OnKeyDown(wxKeyEvent& event)
+{
+ m_combo->ProcessEvent(event);
+}
+
#endif // wxUSE_COMBOBOX && defined(__WXUNIVERSAL__)
// ----------------------------------------------------------------------------