#ifndef _WX_OLEUTILS_H
#define _WX_OLEUTILS_H
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
#pragma interface "oleutils.h"
#endif
{ \
wxLogRelease(_T(#classname), m_cRef); \
\
- if ( --m_cRef == 0 ) { \
+ if ( --m_cRef == wxAutoULong(0) ) { \
delete this; \
return 0; \
} \