]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/private.h
compilation fix for wxMotif and wxGTK1 (of course, it will still crash at run-time...
[wxWidgets.git] / include / wx / msw / private.h
index 64895d855bd22a4b6693ef49710a7dde5344ab8a..a840110a976c907f44444a3b5da995453be37229 100644 (file)
@@ -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__
         }
     }