]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/generic/srchctlg.h
fixing overrelease and out-of-bounds write, fixes #13725
[wxWidgets.git] / include / wx / generic / srchctlg.h
index 0d1fc5b539282de3e884c6635ffc9c33cd14998b..7ccc89881edd11ccc56da1ff014738983425bc15 100644 (file)
@@ -219,7 +219,7 @@ protected:
     virtual wxBitmap RenderSearchBitmap( int x, int y, bool renderDrop );
     virtual wxBitmap RenderCancelBitmap( int x, int y );
 
-    virtual void OnSearchButton( wxCommandEvent& event );
+    void OnCancelButton( wxCommandEvent& event );
 
     void OnSetFocus( wxFocusEvent& event );
     void OnSize( wxSizeEvent& event );