X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ebefc86eae4e1f8f9c6efa04234bee363aa58b69..07aec89fe1e7bad8010911aa8863efecfa909946:/src/osx/core/hid.cpp diff --git a/src/osx/core/hid.cpp b/src/osx/core/hid.cpp index f2b79db202..92c874aa26 100644 --- a/src/osx/core/hid.cpp +++ b/src/osx/core/hid.cpp @@ -4,7 +4,6 @@ // Author: Ryan Norton // Modified by: // Created: 11/11/2003 -// RCS-ID: $Id$ // Copyright: (c) Ryan Norton // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -379,7 +378,7 @@ bool wxHIDDevice::IsActive(int nIndex) // ---------------------------------------------------------------------------- bool wxHIDDevice::HasElement(int nIndex) { - return (void*) m_pCookies[nIndex] != NULL; + return m_pCookies[nIndex] != 0; } // ----------------------------------------------------------------------------