X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d3017584ba511936444abd5a2400e0519f35416f..c4839ccf58de31e405cba8835f81191c28d415f8:/src/generic/htmllbox.cpp diff --git a/src/generic/htmllbox.cpp b/src/generic/htmllbox.cpp index 4bbcf8399b..b1ccc84cab 100644 --- a/src/generic/htmllbox.cpp +++ b/src/generic/htmllbox.cpp @@ -6,7 +6,7 @@ // Created: 31.05.03 // RCS-ID: $Id$ // Copyright: (c) 2003 Vadim Zeitlin -// License: wxWindows license +// License: wxWidgets license /////////////////////////////////////////////////////////////////////////////// // ============================================================================ @@ -28,6 +28,8 @@ #include "wx/dcclient.h" #endif //WX_PRECOMP +#if wxUSE_HTML + #include "wx/htmllbox.h" #include "wx/html/htmlcell.h" @@ -240,6 +242,7 @@ void wxHtmlListBox::CacheItem(size_t n) const self->m_htmlParser = new wxHtmlWinParser; m_htmlParser->SetDC(new wxClientDC(self)); + m_htmlParser->SetFS(&self->m_filesystem); } wxHtmlContainerCell *cell = (wxHtmlContainerCell *)m_htmlParser-> @@ -315,3 +318,4 @@ wxCoord wxHtmlListBox::OnMeasureItem(size_t n) const return cell->GetHeight() + cell->GetDescent() + 4; } +#endif