]> git.saurik.com Git - wxWidgets.git/blobdiff - src/html/htmlpars.cpp
renamed wxDynamicThisCast to wxDynamicCastThis, removed 1st parameter, and documented
[wxWidgets.git] / src / html / htmlpars.cpp
index 6a69f9e0b928e6a8568f0d31a1df98f571bd9717..612f74bbfe5a067f6c15e09558a9de5716bdf8b6 100644 (file)
@@ -219,7 +219,9 @@ wxHtmlEntitiesParser::wxHtmlEntitiesParser()
 
 wxHtmlEntitiesParser::~wxHtmlEntitiesParser()
 {
 
 wxHtmlEntitiesParser::~wxHtmlEntitiesParser()
 {
+#if wxUSE_WCHAR_T && !wxUSE_UNICODE
     delete m_conv;
     delete m_conv;
+#endif
 }
 
 void wxHtmlEntitiesParser::SetEncoding(wxFontEncoding encoding)
 }
 
 void wxHtmlEntitiesParser::SetEncoding(wxFontEncoding encoding)
@@ -270,7 +272,7 @@ struct wxHtmlEntityInfo
     unsigned code;
 };
 
     unsigned code;
 };
 
-static int compar_entity(const void *key, const void *item)
+static int LINKAGEMODE compar_entity(const void *key, const void *item)
 {
     return wxStrcmp((wxChar*)key, ((wxHtmlEntityInfo*)item)->name);
 }
 {
     return wxStrcmp((wxChar*)key, ((wxHtmlEntityInfo*)item)->name);
 }