#include "wx/defs.h"
-#if wxUSE_NORLANDER_HEADERS
- #include <ole2.h>
-#endif
+// get IUnknown, REFIID &c
+#include <ole2.h>
// ============================================================================
// General purpose functions and macros
operator ULONG&() { return m_Value; }
ULONG& operator=(ULONG value) { return m_Value = value; }
+
+ wxAutoULong& operator++() { ++m_Value; return *this; }
+ const wxAutoULong operator++( int ) { wxAutoULong temp = *this; ++m_Value; return temp; }
+
+ wxAutoULong& operator--() { --m_Value; return *this; }
+ const wxAutoULong operator--( int ) { wxAutoULong temp = *this; --m_Value; return temp; }
private:
ULONG m_Value;