Define unused parameters differently to improve intellisense
This commit is contained in:
parent
166d7e2c83
commit
d4a9ec2448
@ -190,11 +190,13 @@ public:
|
||||
|
||||
// Script
|
||||
virtual bool RunScript(const wxString& javascript, wxString* output = NULL) const = 0;
|
||||
virtual bool AddScriptMessageHandler(const wxString& WXUNUSED(name)) { return false; }
|
||||
virtual bool RemoveScriptMessageHandler(const wxString& WXUNUSED(name)) { return false; }
|
||||
virtual bool AddUserScript(const wxString& WXUNUSED(javascript),
|
||||
wxWebViewUserScriptInjectionTime WXUNUSED(injectionTime) = wxWEBVIEW_INJECT_AT_DOCUMENT_START)
|
||||
{ return false; }
|
||||
virtual bool AddScriptMessageHandler(const wxString& name)
|
||||
{ wxUnusedVar(name); return false; }
|
||||
virtual bool RemoveScriptMessageHandler(const wxString& name)
|
||||
{ wxUnusedVar(name); return false; }
|
||||
virtual bool AddUserScript(const wxString& javascript,
|
||||
wxWebViewUserScriptInjectionTime injectionTime = wxWEBVIEW_INJECT_AT_DOCUMENT_START)
|
||||
{ wxUnusedVar(javascript); wxUnusedVar(injectionTime); return false; }
|
||||
virtual void RemoveAllUserScripts() {}
|
||||
|
||||
virtual void SetEditable(bool enable = true) = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user