]> git.saurik.com Git - wxWidgets.git/commit
Fix problems with reference counting in wxActiveXContainer.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 24 Oct 2010 22:41:36 +0000 (22:41 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 24 Oct 2010 22:41:36 +0000 (22:41 +0000)
commite0b5dc3d63521f09691b14c1665370d85ef042ea
tree2a65c46685ee86a9ebc14745a012dfe7ab987440
parent21e5aa164e50643630e2c803743498839f2ad808
Fix problems with reference counting in wxActiveXContainer.

Ensure that the IFrameSite object is created with valid (i.e. non-zero)
reference count by calling AddRef() on it immediately after creation and
remove the weird QueryInterface() call which was used to work around this bug.

Closes #11566.

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