X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3f4a0c5be34be837210768501c13dbcff81e533c..f3bd1796cae0fc37a45f6b7a61b473e3ddc652ee:/src/msw/ole/oleutils.cpp diff --git a/src/msw/ole/oleutils.cpp b/src/msw/ole/oleutils.cpp index e67ac95611..58b3cd8a16 100644 --- a/src/msw/ole/oleutils.cpp +++ b/src/msw/ole/oleutils.cpp @@ -184,6 +184,24 @@ void wxLogRelease(const char *szInterface, ULONG cRef) wxLogTrace("After %s::Release: m_cRef = %d", szInterface, cRef - 1); } +#elif defined(__WXDEBUG__) && defined(__VISUALC__) && (__VISUALC__ <= 1000) + +// For VC++ 4 +void wxLogQueryInterface(const char *szInterface, REFIID riid) +{ + wxLogTrace("%s::QueryInterface", szInterface); +} + +void wxLogAddRef(const char *szInterface, ULONG cRef) +{ + wxLogTrace("After %s::AddRef: m_cRef = %d", szInterface, cRef + 1); +} + +void wxLogRelease(const char *szInterface, ULONG cRef) +{ + wxLogTrace("After %s::Release: m_cRef = %d", szInterface, cRef - 1); +} + #endif //WXDEBUG #endif