]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/log.h
Reverted part of patch #876969 ("Fixes to Borland warnings"), resulted in bugs when...
[wxWidgets.git] / include / wx / log.h
index 8dda8c390a46485f1cc77c969d96514027e8dcfc..bcb090fe979c04629cf6a19812ef2f6b0ac772c3 100644 (file)
@@ -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_