From: Dimitri Schoolwerth Date: Sun, 1 Feb 2004 08:49:56 +0000 (+0000) Subject: Reverted part of patch #876969 ("Fixes to Borland warnings"), resulted in bugs when... X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/594ed110f77d9f29f7165a07bb806e5a4fa19b0e Reverted part of patch #876969 ("Fixes to Borland warnings"), resulted in bugs when running in wxUniv release mode using BCC. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25443 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/log.h b/include/wx/log.h index 8dda8c390a..bcb090fe97 100644 --- a/include/wx/log.h +++ b/include/wx/log.h @@ -556,8 +556,8 @@ wxSafeShowMessage(const wxString& title, const wxString& text); #define wxLogLastError(api) wxLogApiError(api, wxSysErrorCode()) #else //!debug - #define wxLogApiError(api, rc) {} - #define wxLogLastError(api) {} + inline void wxLogApiError(const wxChar *, long) { } + inline void wxLogLastError(const wxChar *) { } #endif //debug/!debug #endif // _WX_LOG_H_