diff --git a/include/wx/webview.h b/include/wx/webview.h index 265ac24b0a..816b5a5ffc 100644 --- a/include/wx/webview.h +++ b/include/wx/webview.h @@ -138,7 +138,6 @@ public: wxWebView() { m_showMenu = true; - m_runScriptCount = 0; m_syncScriptResult = 0; } @@ -272,10 +271,6 @@ protected: void SendScriptResult(void* clientData, bool success, const wxString& output) const; - // Count the number of calls to RunScript() in order to prevent - // the_same variable from being used twice in more than one call. - mutable int m_runScriptCount; - private: static void InitFactoryMap(); static wxStringWebViewFactoryMap::iterator FindFactory(const wxString &backend);