X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c0c133e13b36a923c65f94499554e432bc3a0daa..5eb34e9eb055d08de83f748fc38faa8a2068dd42:/include/wx/msw/private.h diff --git a/include/wx/msw/private.h b/include/wx/msw/private.h index 64895d855b..a840110a97 100644 --- a/include/wx/msw/private.h +++ b/include/wx/msw/private.h @@ -692,14 +692,12 @@ public: { if ( m_hGlobal && !GlobalUnlock(m_hGlobal) ) { -#ifdef __WXDEBUG__ // this might happen simply because the block became unlocked DWORD dwLastError = ::GetLastError(); if ( dwLastError != NO_ERROR ) { wxLogApiError(_T("GlobalUnlock"), dwLastError); } -#endif // __WXDEBUG__ } }