// Purpose: Smart pointer for COM interfaces.
// Author: PB
// Created: 2012-04-16
-// RCS-ID: $Id: $
+// RCS-ID: $Id$
// Copyright: (c) 2012 wxWidgets team
// Licence: wxWindows licence
///////////////////////////////////////////////////////////////////////////////
#define _WX_MSW_PRIVATE_COMPTR_H_
// ----------------------------------------------------------------------------
-// wxCOMPtr: Minimalistic a smart pointer for use with COM interfaces.
+// wxCOMPtr: A minimalistic smart pointer for use with COM interfaces.
// ----------------------------------------------------------------------------
template <class T>
// Define a helper for the macro below: we just need a function taking a
// pointer and not returning anything to avoid warnings about unused return
// value of the cast in the macro itself.
-namespace wxPrivate { void PPV_ARGS_CHECK(void*) { } }
+namespace wxPrivate { inline void PPV_ARGS_CHECK(void*) { } }
// Takes the interface name and a pointer to a pointer of the interface type
// and expands into the IID of this interface and the same pointer but after a