From 04e4b57a0565a70560e4acf9433e7e729342f2f3 Mon Sep 17 00:00:00 2001 From: Tobias Taschner Date: Fri, 5 Nov 2021 09:54:44 +0100 Subject: [PATCH] Remove unused m_runScriptCount This was no longer used after the changes to the javascript wrapper --- include/wx/webview.h | 5 ----- 1 file changed, 5 deletions(-) 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);