X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/82df67d960355e99a66b1db473b9d6236bf2fbb9..903972f99993e6f31a31b66d1866f6fc982a1c43:/include/wx/msw/ole/oleutils.h diff --git a/include/wx/msw/ole/oleutils.h b/include/wx/msw/ole/oleutils.h index 1d19f4f763..ca8e10c877 100644 --- a/include/wx/msw/ole/oleutils.h +++ b/include/wx/msw/ole/oleutils.h @@ -18,9 +18,8 @@ #include "wx/defs.h" -#if wxUSE_NORLANDER_HEADERS - #include -#endif +// get IUnknown, REFIID &c +#include // ============================================================================ // General purpose functions and macros @@ -74,6 +73,12 @@ public: 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;