+void wxLogAddRef(const wxChar *szInterface, ULONG cRef)
+{
+ wxLogTrace(wxTRACE_OleCalls, wxT("After %s::AddRef: m_cRef = %d"), szInterface, cRef + 1);
+}
+
+void wxLogRelease(const wxChar *szInterface, ULONG cRef)
+{
+ wxLogTrace(wxTRACE_OleCalls, wxT("After %s::Release: m_cRef = %d"), szInterface, cRef - 1);
+}
+
+#elif defined(__WXDEBUG__) && defined(__VISUALC__) && (__VISUALC__ <= 1000)
+
+// For VC++ 4