]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/popupcmn.cpp
Minor header cleaning.
[wxWidgets.git] / src / common / popupcmn.cpp
index 41b8878af33de3ab7220aa31e6f460c862c86c2e..d0a3534f37500fd1ee8ec719c5ede2de0bed9616 100644 (file)
@@ -561,7 +561,7 @@ void wxPopupFocusHandler::OnKillFocus(wxFocusEvent& event)
 void wxPopupFocusHandler::OnKeyDown(wxKeyEvent& event)
 {
     // let the window have it first, it might process the keys
-    if ( !m_popup->ProcessEvent(event) )
+    if ( !m_popup->GetEventHandler()->ProcessEvent(event) )
     {
         // by default, dismiss the popup
         m_popup->DismissAndNotify();