]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/ole/uuid.cpp
fix wxSystemSettings::GetColour() for wxGTK3
[wxWidgets.git] / src / msw / ole / uuid.cpp
index d4079803b4708122a2d2ce48ae671daa179bbf75..3bafbba898f3e5761417022f7f673c3a7d60efc2 100644 (file)
@@ -4,7 +4,6 @@
 // Author:      Vadim Zeitlin
 // Modified by:
 // Created:     12.09.96
-// RCS-ID:      $Id$
 // Copyright:   (c) 1998 Vadim Zeitlin <zeitlin@dptmaths.ens-cachan.fr>
 // Licence:     wxWindows licence
 ///////////////////////////////////////////////////////////////////////////////
@@ -86,7 +85,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