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
This commit is contained in:
@@ -1437,7 +1437,7 @@ WXDLLIMPEXP_BASE const wxChar* wxSysErrorMsg(unsigned long nErrCode = 0);
|
|||||||
else \
|
else \
|
||||||
wxMAKE_LOGGER(Status).MaybeStore(wxLOG_KEY_FRAME).Log
|
wxMAKE_LOGGER(Status).MaybeStore(wxLOG_KEY_FRAME).Log
|
||||||
|
|
||||||
#define wxVLogStatus(format, argptr) \
|
#define wxVLogStatus \
|
||||||
wxMAKE_LOGGER(Status).MaybeStore(wxLOG_KEY_FRAME).LogV
|
wxMAKE_LOGGER(Status).MaybeStore(wxLOG_KEY_FRAME).LogV
|
||||||
#endif // wxUSE_GUI
|
#endif // wxUSE_GUI
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user