X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8c651ab7877f390a333f5f1c2e8edc1ff24d8c02..f44fdfb032152a62cc0e3a4c0f09330cfab76710:/src/html/m_layout.cpp diff --git a/src/html/m_layout.cpp b/src/html/m_layout.cpp index af040afe95..08157beaba 100644 --- a/src/html/m_layout.cpp +++ b/src/html/m_layout.cpp @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: mod_layout.cpp +// Name: m_layout.cpp // Purpose: wxHtml module for basic paragraphs/layout handling // Author: Vaclav Slavik // RCS-ID: $Id$ @@ -14,7 +14,7 @@ #include "wx/defs.h" -#if wxUSE_HTML +#if wxUSE_HTML && wxUSE_STREAMS #ifdef __BORDLANDC__ #pragma hdrstop #endif @@ -29,7 +29,7 @@ #include "wx/html/htmlwin.h" -FORCE_LINK_ME(mod_layout) +FORCE_LINK_ME(m_layout) TAG_HANDLER_BEGIN(P, "P") @@ -150,7 +150,7 @@ TAG_HANDLER_BEGIN(TITLE, "TITLE") wxString *src = m_WParser -> GetSource(); for (int i = tag.GetBeginPos(); i < tag.GetEndPos1(); i++) title += (*src)[(unsigned int) i]; - wfr -> SetTitle(title); + wfr -> OnSetTitle(title); } } return TRUE;