X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d1b20379e45636461e4aa45e5263fb3d9a4956a8..cad1a197e5a31d40104fd979a2c583aa8f725c93:/include/wx/log.h 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_