]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/protocol.cpp
implement button support for pre-XP systems (or with themes disabled); using only...
[wxWidgets.git] / src / common / protocol.cpp
index 2dfb4b40ab04eac1b0653f478772c96aa7e49bfa..1f508709eb7526c3e676c166aee362c5e8da152e 100644 (file)
@@ -26,6 +26,7 @@
 #endif
 
 #include "wx/url.h"
 #endif
 
 #include "wx/url.h"
+#include "wx/log.h"
 
 #include <stdlib.h>
 
 
 #include <stdlib.h>
 
@@ -207,8 +208,9 @@ void wxProtocol::LogResponse(const wxString& str)
         m_log->LogResponse(str);
 }
 
         m_log->LogResponse(str);
 }
 
-void wxProtocolLog::DoLogString(const wxString& WXUNUSED_UNLESS_DEBUG(str))
+void wxProtocolLog::DoLogString(const wxString& str)
 {
 {
+    wxUnusedVar(str); // unused if wxLogTrace() is disabled
     wxLogTrace(m_traceMask, "%s", str);
 }
 
     wxLogTrace(m_traceMask, "%s", str);
 }