diff --git a/include/wx/msw/ole/uuid.h b/include/wx/msw/ole/uuid.h index 4cd02c9d89..ef82be0371 100644 --- a/include/wx/msw/ole/uuid.h +++ b/include/wx/msw/ole/uuid.h @@ -76,7 +76,7 @@ public: // comparison operators bool operator==(const Uuid& uuid) const; - bool operator!=(const Uuid& uuid) const; + bool operator!=(const Uuid& uuid) const { return !(*this == uuid); } // accessors operator const UUID*() const { return &m_uuid; }