From: Vadim Zeitlin Date: Sun, 22 Mar 2009 20:51:21 +0000 (+0000) Subject: add WXWIN_COMPATIBILITY_2_8 test around another wxLogTrace(wxTraceMask) occurrence X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/69e3710eb797b2fcdb7c8fcc0026766338b51db3 add WXWIN_COMPATIBILITY_2_8 test around another wxLogTrace(wxTraceMask) occurrence git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59738 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/log.h b/include/wx/log.h index d4a2458770..39a539f329 100644 --- a/include/wx/log.h +++ b/include/wx/log.h @@ -805,7 +805,9 @@ DECLARE_LOG_FUNCTION2(SysError, unsigned long, lErrCode); #ifdef HAVE_VARIADIC_MACROS #define wxLogTrace(mask, fmt, ...) wxLogNop() #else // !HAVE_VARIADIC_MACROS + #if WXWIN_COMPATIBILITY_2_8 WX_DEFINE_VARARG_FUNC_NOP(wxLogTrace, 2, (wxTraceMask, const wxString&)) + #endif WX_DEFINE_VARARG_FUNC_NOP(wxLogTrace, 2, (const wxString&, const wxString&)) #ifdef __WATCOMC__ // workaround for http://bugzilla.openwatcom.org/show_bug.cgi?id=351