From: Vadim Zeitlin Date: Sat, 1 Sep 2012 22:38:40 +0000 (+0000) Subject: Fix wxVLogStatus definition. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/81b93d3e85a2bf29c9939ed8ee22e22e5b5538e1 Fix wxVLogStatus definition. This macro can be used with 2 arguments (format and argptr) or 3 (the frame pointer as an additional first argument), so don't define it as taking 2 arguments but as a macro without arguments, as we already do for wxVLogSysErrorfor the same reasons. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72421 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/log.h b/include/wx/log.h index 90dde5e6b4..e3e1f54adf 100644 --- a/include/wx/log.h +++ b/include/wx/log.h @@ -1437,7 +1437,7 @@ WXDLLIMPEXP_BASE const wxChar* wxSysErrorMsg(unsigned long nErrCode = 0); else \ wxMAKE_LOGGER(Status).MaybeStore(wxLOG_KEY_FRAME).Log - #define wxVLogStatus(format, argptr) \ + #define wxVLogStatus \ wxMAKE_LOGGER(Status).MaybeStore(wxLOG_KEY_FRAME).LogV #endif // wxUSE_GUI