]> git.saurik.com Git - wxWidgets.git/blobdiff - src/html/m_layout.cpp
Add support for wxHELP button to wxMessageDialog.
[wxWidgets.git] / src / html / m_layout.cpp
index 02d38228cdf25e7bd63cd8b9e36c30d6722bc2b5..c54b437c863125c8f203171d0934fad0e38cb964 100644 (file)
@@ -285,7 +285,7 @@ TAG_HANDLER_BEGIN(TITLE, "TITLE")
         if (winIface)
         {
             wxString title(tag.GetBeginIter(), tag.GetEndIter1());
-#if !wxUSE_UNICODE && wxUSE_WCHAR_T
+#if !wxUSE_UNICODE
             const wxFontEncoding enc = m_WParser->GetInputEncoding();
             if ( enc != wxFONTENCODING_DEFAULT )
             {
@@ -340,7 +340,7 @@ TAG_HANDLER_BEGIN(BODY, "BODY")
                 if ( is )
                 {
                     wxImage image(*is);
-                    if ( image.Ok() )
+                    if ( image.IsOk() )
                         winIface->SetHTMLBackgroundImage(image);
                 }