diff --git a/include/wx/msw/webview_ie.h b/include/wx/msw/webview_ie.h index 83e2b6c14b..c0aa541fb8 100644 --- a/include/wx/msw/webview_ie.h +++ b/include/wx/msw/webview_ie.h @@ -133,8 +133,6 @@ private: wxAutomationObject m_ie; IWebBrowser2* m_webBrowser; DWORD m_dwCookie; - bool m_canNavigateBack; - bool m_canNavigateForward; //We store the current zoom type; wxWebViewZoomType m_zoomType; diff --git a/src/msw/webview_ie.cpp b/src/msw/webview_ie.cpp index cfe3bfaa04..d2f66d434a 100644 --- a/src/msw/webview_ie.cpp +++ b/src/msw/webview_ie.cpp @@ -72,8 +72,6 @@ bool wxWebViewIE::Create(wxWindow* parent, } m_webBrowser = NULL; - m_canNavigateBack = false; - m_canNavigateForward = false; m_isBusy = false; m_historyLoadingFromList = false; m_historyEnabled = true; @@ -949,21 +947,6 @@ void wxWebViewIE::onActiveXEvent(wxActiveXEvent& evt) HandleWindowEvent(event); break; } - - case DISPID_COMMANDSTATECHANGE: - { - long commandId = evt[0].GetLong(); - bool enable = evt[1].GetBool(); - if (commandId == CSC_NAVIGATEBACK) - { - m_canNavigateBack = enable; - } - else if (commandId == CSC_NAVIGATEFORWARD) - { - m_canNavigateForward = enable; - } - break; - } case DISPID_NEWWINDOW3: { wxString url = evt[4].GetString();