]> git.saurik.com Git - wxWidgets.git/commitdiff
use wxLogTrace(htmldebug) instead of wxLogDebug() for messages about HTML syntax...
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 18 Jul 2004 10:05:06 +0000 (10:05 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 18 Jul 2004 10:05:06 +0000 (10:05 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28297 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/html/htmlpars.cpp

index 2d8a85df24518f5ddc94d68d4b7f2cd3ed75ec67..7cee2a8e061775d50413d7ef1c9830562e680bd6 100644 (file)
@@ -43,6 +43,8 @@
 #include "wx/app.h"
 WX_CHECK_BUILD_OPTIONS("wxHTML")
 
+const wxChar *wxTRACE_HTML_DEBUG = _T("htmldebug");
+
 //-----------------------------------------------------------------------------
 // wxHtmlParser helpers
 //-----------------------------------------------------------------------------
@@ -517,7 +519,9 @@ wxString wxHtmlEntitiesParser::Parse(const wxString& input)
             else
             {
                 output.append(ent_s-1, c-ent_s+2);
-                wxLogDebug(wxT("Unrecognized HTML entity: '%s'"), entity.c_str());
+                wxLogTrace(wxTRACE_HTML_DEBUG,
+                           wxT("Unrecognized HTML entity: '%s'"),
+                           entity.c_str());
             }
         }
     }