]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/osx/webview_webkit.h
fixing overrelease and out-of-bounds write, fixes #13725
[wxWidgets.git] / include / wx / osx / webview_webkit.h
index 193057fcdf7d38d91c2c9b52f1674e689fe35379..94f99c1d580ee34a314d9000351927aa2752bd37 100644 (file)
@@ -86,6 +86,14 @@ public:
     virtual void Undo();
     virtual void Redo();
 
+    //Find function
+    virtual long Find(const wxString& text, int flags = wxWEB_VIEW_FIND_DEFAULT) 
+    { 
+        wxUnusedVar(text);
+        wxUnusedVar(flags);
+        return wxNOT_FOUND; 
+    }
+
     //Clipboard functions
     virtual bool CanCut() const { return true; }
     virtual bool CanCopy() const { return true; }