From 56fae7b8f5671814fdb2cdc9ae79dbecf078c68d Mon Sep 17 00:00:00 2001 From: =?utf8?q?V=C3=A1clav=20Slav=C3=ADk?= Date: Mon, 7 Jul 2003 08:33:02 +0000 Subject: [PATCH] compilation fix for #ifdef __WXDEBUG__ git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21736 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/appbase.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/common/appbase.cpp b/src/common/appbase.cpp index c2528ec5c9..a43948154a 100644 --- a/src/common/appbase.cpp +++ b/src/common/appbase.cpp @@ -33,6 +33,7 @@ #endif // wxUSE_LOG #endif //WX_PRECOMP +#include "wx/utils.h" #include "wx/apptrait.h" #include "wx/cmdline.h" #include "wx/confbase.h" @@ -753,7 +754,7 @@ void ShowAssertDialog(const wxChar *szFile, if ( !s_bNoAsserts ) { // send it to the normal log destination - wxLogDebug(_T("%s"), msg); + wxLogDebug(_T("%s"), msg.c_str()); if ( traits ) { -- 2.47.2