Added wxCOMPtr<> helper class.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 15 Apr 2012 23:18:08 +0000 (23:18 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 15 Apr 2012 23:18:08 +0000 (23:18 +0000)
commit09278fdb79b8c8490fe83f9f1331f318ccbec8da
tree3522266c0348ed5d0b2552badc9fce697794252a
parent23b9814f809deda3bb12774487d10a3de9b205fc
Added wxCOMPtr<> helper class.

This allows to avoid error-prone manual AddRef() and Release() calls when
writing COM code in wxMSW.

See #11401.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71200 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
include/wx/msw/private/comptr.h [new file with mode: 0644]