X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/14f355c2b5c71fc7c3d680aea366582d2ac60f7b..780d7317eda90f5f2ac353f6b7a72142d4cd3180:/src/msw/ole/oleutils.cpp diff --git a/src/msw/ole/oleutils.cpp b/src/msw/ole/oleutils.cpp index c8ce51a5b7..6a026d1d03 100644 --- a/src/msw/ole/oleutils.cpp +++ b/src/msw/ole/oleutils.cpp @@ -17,10 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) -#pragma implementation "oleutils.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" @@ -60,15 +56,15 @@ // Implementation // ============================================================================ -// return TRUE if the iid is in the array +// return true if the iid is in the array bool IsIidFromList(REFIID riid, const IID *aIids[], size_t nCount) { for ( size_t i = 0; i < nCount; i++ ) { if ( riid == *aIids[i] ) - return TRUE; + return true; } - return FALSE; + return false; } #if wxUSE_DATAOBJ @@ -223,7 +219,7 @@ void wxLogRelease(const char *szInterface, ULONG cRef) wxLogTrace("After %s::Release: m_cRef = %d", szInterface, cRef - 1); } -#endif //WXDEBUG +#endif // __WXDEBUG__ #endif // wxUSE_DRAG_AND_DROP