git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@69266
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
class ClassFactory : public IClassFactory
{
-private:
- ULONG m_refCount;
public:
- ClassFactory(wxSharedPtr<wxWebViewHandler> handler) : m_handler(handler) {}
+ ClassFactory(wxSharedPtr<wxWebViewHandler> handler) : m_handler(handler), m_refCount(0) {}
//IUnknown
ULONG STDMETHODCALLTYPE AddRef();
HRESULT STDMETHODCALLTYPE QueryInterface(REFIID riid, void **ppvObject);
REFIID riid, void** ppvObject);
HRESULT STDMETHODCALLTYPE LockServer(BOOL fLock);
private:
+ ULONG m_refCount;
wxSharedPtr<wxWebViewHandler> m_handler;
};