// Name: oleutils.h
// Purpose: OLE helper routines, OLE debugging support &c
// Author: Vadim Zeitlin
-// Modified by:
+// Modified by:
// Created: 19.02.1998
// RCS-ID: $Id$
// Copyright: (c) 1998 Vadim Zeitlin <zeitlin@dptmaths.ens-cachan.fr>
-// Licence: wxWindows license
+// Licence: wxWindows licence
///////////////////////////////////////////////////////////////////////////////
-#ifndef _OLEUTILS_H
-#define _OLEUTILS_H
+#ifndef _WX_OLEUTILS_H
+#define _WX_OLEUTILS_H
#ifdef __GNUG__
#pragma interface "oleutils.h"
// ============================================================================
/*
- The most dumb implementation of IUnknown methods. We don't support
+ The most dumb implementation of IUnknown methods. We don't support
aggregation nor containment, but for 99% of cases this simple
implementation is quite enough.
// Debugging support
// ============================================================================
-#if defined(__WXDEBUG__) && defined(_MSC_VER) && (_MSC_VER > 1000)
-// ----------------------------------------------------------------------------
-//
-// ----------------------------------------------------------------------------
-
+// VZ: I don't know it's not done for compilers other than VC++ but I leave it
+// as is. Please note, though, that tracing OLE interface calls may be
+// incredibly useful when debugging OLE programs.
+#if defined(__WXDEBUG__) && defined(__VISUALC__) && (__VISUALC__ >= 1000)
// ----------------------------------------------------------------------------
// All OLE specific log functions have DebugTrace level (as LogTrace)
// ----------------------------------------------------------------------------
#define wxLogRelease(szInterface, cRef)
#endif //WXDEBUG
-#endif //_OLEUTILS_H
\ No newline at end of file
+#endif //_WX_OLEUTILS_H
+