Add RemoveScriptMessage handler and return bool

This commit is contained in:
Tobias Taschner
2021-02-26 16:50:48 +01:00
parent c3d0d7d000
commit 04d22cc9f6
3 changed files with 12 additions and 3 deletions

View File

@@ -89,7 +89,8 @@ public:
virtual bool IsEditable() const wxOVERRIDE;
bool RunScript(const wxString& javascript, wxString* output = NULL) const wxOVERRIDE;
virtual void AddScriptMessageHandler(const wxString& name) wxOVERRIDE;
virtual bool AddScriptMessageHandler(const wxString& name) wxOVERRIDE;
virtual bool RemoveScriptMessageHandler(const wxString& name) wxOVERRIDE;
//Virtual Filesystem Support
virtual void RegisterHandler(wxSharedPtr<wxWebViewHandler> handler) wxOVERRIDE;