X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5c526007a8909e8856a6d1fb656c5150738d2e4a..594ed110f77d9f29f7165a07bb806e5a4fa19b0e:/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_