diff --git a/include/wx/gtk/webview_webkit.h b/include/wx/gtk/webview_webkit.h index d9e728b331..0b9a1939f8 100644 --- a/include/wx/gtk/webview_webkit.h +++ b/include/wx/gtk/webview_webkit.h @@ -78,8 +78,10 @@ public: virtual wxString GetPageText() const wxOVERRIDE; virtual void Print() wxOVERRIDE; virtual bool IsBusy() const wxOVERRIDE; +#if wxUSE_WEBVIEW_WEBKIT2 virtual void EnableAccessToDevTools(bool enable = true) wxOVERRIDE; virtual bool IsAccessToDevToolsEnabled() const wxOVERRIDE; +#endif void SetZoomType(wxWebViewZoomType) wxOVERRIDE; wxWebViewZoomType GetZoomType() const wxOVERRIDE; @@ -117,11 +119,13 @@ public: virtual void ClearSelection() wxOVERRIDE; virtual bool RunScript(const wxString& javascript, wxString* output = NULL) const wxOVERRIDE; +#if wxUSE_WEBVIEW_WEBKIT2 virtual bool AddScriptMessageHandler(const wxString& name) wxOVERRIDE; virtual bool RemoveScriptMessageHandler(const wxString& name) wxOVERRIDE; virtual bool AddUserScript(const wxString& javascript, wxWebViewUserScriptInjectionTime injectionTime = wxWEBVIEW_INJECT_AT_DOCUMENT_START) wxOVERRIDE; virtual void RemoveAllUserScripts() wxOVERRIDE; +#endif //Virtual Filesystem Support virtual void RegisterHandler(wxSharedPtr handler) wxOVERRIDE;