+ Uuid uuid(riid);
+ return wxString((const wxChar *)uuid);
+}
+
+void wxLogQueryInterface(const wxChar *szInterface, REFIID riid)
+{
+ wxLogTrace(wxTRACE_OleCalls, wxT("%s::QueryInterface (iid = %s)"),
+ szInterface, GetIidName(riid).c_str());
+}
+
+void wxLogAddRef(const wxChar *szInterface, ULONG cRef)
+{
+ wxLogTrace(wxTRACE_OleCalls, wxT("After %s::AddRef: m_cRef = %d"), szInterface, cRef + 1);