From 538f284a44001ff8285eaafebcc384bf638b5d66 Mon Sep 17 00:00:00 2001 From: Steve Lamerton Date: Tue, 8 Nov 2011 11:35:38 +0000 Subject: [PATCH] Update wxHtmlWindow documentation to refer to wxWebView. Closes #13608 git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@69700 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- interface/wx/html/htmlwin.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/interface/wx/html/htmlwin.h b/interface/wx/html/htmlwin.h index ef7dde2599..9ad78baac9 100644 --- a/interface/wx/html/htmlwin.h +++ b/interface/wx/html/htmlwin.h @@ -12,13 +12,17 @@ wxHtmlWindow is probably the only class you will directly use unless you want to do something special (like adding new tag handlers or MIME filters). - The purpose of this class is to display HTML pages (either local file or - downloaded via HTTP protocol) in a window. + The purpose of this class is to display rich content pages (either local file or + downloaded via HTTP protocol) in a window based on a subset of the HTML standard. The width of the window is constant - given in the constructor - and virtual height is changed dynamically depending on page size. Once the window is created you can set its content by calling SetPage() with raw HTML, LoadPage() with a wxFileSystem location or LoadFile() with a filename. + @note + If you want complete HTML/CSS support as well as a Javascript engine, see instead + wxWebView. + @note wxHtmlWindow uses the wxImage class for displaying images, as such you need to initialize the handlers for any image formats you use before loading a page. -- 2.45.2