]> git.saurik.com Git - wxWidgets.git/commitdiff
compilation fix for #ifdef __WXDEBUG__
authorVáclav Slavík <vslavik@fastmail.fm>
Mon, 7 Jul 2003 08:33:02 +0000 (08:33 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Mon, 7 Jul 2003 08:33:02 +0000 (08:33 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21736 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/appbase.cpp

index c2528ec5c9e227db222927d9abc362520c9c15ef..a43948154a9027fc35c3f9a5e93c4bd7d2a5c631 100644 (file)
@@ -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 )
         {