Remove unused m_runScriptCount

This was no longer used after the changes to the javascript wrapper
This commit is contained in:
Tobias Taschner
2021-11-05 09:54:44 +01:00
parent 9f9ccf33e1
commit 04e4b57a05

View File

@@ -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);