]> git.saurik.com Git - wxWidgets.git/commitdiff
Remove some now unused history variables.
authorSteve Lamerton <steve.lamerton@gmail.com>
Mon, 25 Jul 2011 10:46:46 +0000 (10:46 +0000)
committerSteve Lamerton <steve.lamerton@gmail.com>
Mon, 25 Jul 2011 10:46:46 +0000 (10:46 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@68394 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/msw/webview_ie.h
src/msw/webview_ie.cpp

index 83e2b6c14bef74856e689a3e1c04dc8c8697eda0..c0aa541fb8fadaa62f35c3f883496d820ecf962a 100644 (file)
@@ -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;
index cfe3bfaa04b5388d4f856b88932e7456794f7536..d2f66d434a4f21751ab628f6bac4e4695dbf727b 100644 (file)
@@ -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();