X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a0fa7d39f512ea62bb404005fb48fdd04d5aeff8..63e1921d0be4956ab729735189ccf637773a7e27:/src/msw/ole/uuid.cpp diff --git a/src/msw/ole/uuid.cpp b/src/msw/ole/uuid.cpp index 76a9680222..2153a25391 100644 --- a/src/msw/ole/uuid.cpp +++ b/src/msw/ole/uuid.cpp @@ -20,7 +20,7 @@ #pragma hdrstop #endif -#if wxUSE_OLE && ( wxUSE_DRAG_AND_DROP || (defined(__WXDEBUG__) && wxUSE_DATAOBJ) ) +#if wxUSE_OLE && (wxUSE_DRAG_AND_DROP || wxUSE_DATAOBJ) #ifndef WX_PRECOMP #include "wx/msw/wrapwin.h" @@ -86,7 +86,7 @@ bool Uuid::operator==(const Uuid& uuid) const { // IsEqualGUID() returns BOOL and not bool so use an explicit comparison to // avoid MSVC warnings about int->bool conversion - return IsEqualGUID(m_uuid, uuid.m_uuid) == TRUE; + return IsEqualGUID(m_uuid, uuid.m_uuid) != 0; } // dtor