]> git.saurik.com Git - wxWidgets.git/blobdiff - src/html/htmlpars.cpp
FreeBSD compilation fix
[wxWidgets.git] / src / html / htmlpars.cpp
index 3153ef819d269f76ee4f7fbfcc13a6ff750ab095..612f74bbfe5a067f6c15e09558a9de5716bdf8b6 100644 (file)
@@ -219,7 +219,9 @@ wxHtmlEntitiesParser::wxHtmlEntitiesParser()
 
 wxHtmlEntitiesParser::~wxHtmlEntitiesParser()
 {
+#if wxUSE_WCHAR_T && !wxUSE_UNICODE
     delete m_conv;
+#endif
 }
 
 void wxHtmlEntitiesParser::SetEncoding(wxFontEncoding encoding)