]> git.saurik.com Git - wxWidgets.git/commit
Correctly use QueryInterface in GetDocument to ensure that we only return an IHTMLDoc...
authorSteve Lamerton <steve.lamerton@gmail.com>
Tue, 27 Mar 2012 19:33:59 +0000 (19:33 +0000)
committerSteve Lamerton <steve.lamerton@gmail.com>
Tue, 27 Mar 2012 19:33:59 +0000 (19:33 +0000)
commite81ef29720aa69cd9b20513ac7661b5170eeda62
tree671056bbc4ea9eaeb28c52962008fe9474e3a397
parent0ffc1704557eb7fcc2ffbd94cb481e520041da72
Correctly use QueryInterface in GetDocument to ensure that we only return an IHTMLDocument2 pointer if one is available. Check GetDocument being NULL when used. This fixes the displaying of non-html documents such as pdfs.

Fixes #14060

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71030 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
src/msw/webview_ie.cpp