]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/srchctlg.cpp
Fix broken and missing DataView interface items for Phoenix
[wxWidgets.git] / src / generic / srchctlg.cpp
index acf408c2dd4a8ab7e9cb5dcbc4db74100d6c0765..91000de3cb9a7a2124571ef2deb1322c3e562626 100644 (file)
@@ -1176,9 +1176,10 @@ void wxSearchCtrl::RecalcBitmaps()
     }
 }
 
-void wxSearchCtrl::OnCancelButton( wxCommandEvent& WXUNUSED(event) )
+void wxSearchCtrl::OnCancelButton( wxCommandEvent& event )
 {
     m_text->Clear();
+    event.Skip();
 }
 
 void wxSearchCtrl::OnSetFocus( wxFocusEvent& /*event*/ )