Factor logic that returns an IHTMLDocument2 into a separate function to reduce repetition.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@68156 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Steve Lamerton
2011-07-04 18:46:01 +00:00
parent 113e0a926f
commit 617227c309
2 changed files with 18 additions and 33 deletions

View File

@@ -21,6 +21,8 @@
#include "wx/sharedptr.h"
#include "wx/vector.h"
class IHTMLDocument2;
class WXDLLIMPEXP_WEB wxWebViewIE : public wxWebView
{
public:
@@ -141,6 +143,7 @@ private:
//Generic helper functions for IHtmlDocument commands
bool CanExecCommand(wxString command);
void ExecCommand(wxString command);
IHTMLDocument2* GetDocument();
};