#include <wx/msw/ole/uuid.h>
#include <wx/msw/ole/oleutils.h>
-#ifndef __BORLANDC__
+#if defined(_MSC_VER) && (_MSC_VER > 1000)
#include <docobj.h>
#endif
// Debug support
// ----------------------------------------------------------------------------
-#if defined(__DEBUG__) && defined(_MSC_VER) && (_MSC_VER > 1000)
+#if defined(__WXDEBUG__) && defined(_MSC_VER) && (_MSC_VER > 1000)
const char *GetIidName(REFIID riid)
{
// an association between symbolic name and numeric value of an IID
wxLogTrace("After %s::Release: m_cRef = %d", szInterface, cRef - 1);
}
-#endif //DEBUG
+#endif //WXDEBUG
#endif
// USE_DRAG_AND_DROP