X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f6bcfd974ef26faf6f91a62cac09827e09463fd1..e0976f6db35b304f16519437c9d9e2450a373783:/docs/latex/wx/htmlstrt.tex diff --git a/docs/latex/wx/htmlstrt.tex b/docs/latex/wx/htmlstrt.tex index 726b3223de..5708f5daf2 100644 --- a/docs/latex/wx/htmlstrt.tex +++ b/docs/latex/wx/htmlstrt.tex @@ -1,6 +1,6 @@ -\section{wxHTML quick start}\label{wxhtmlquickstart} +\subsection{wxHTML quick start}\label{wxhtmlquickstart} -\wxheading{Displaying HMTL} +\wxheading{Displaying HTML} First of all, you must include . @@ -15,12 +15,10 @@ passed {\bf string}. See the example: mywin -> LoadPage("test.htm"); mywin -> SetPage("" "

Error

" - "Some error occurred :-H)" - ""); + "Some error occurred :-H)" + ""); \end{verbatim} -I think the difference is quite clear. - \wxheading{Displaying Help} See \helpref{wxHtmlHelpController}{wxhtmlhelpcontroller}. @@ -28,9 +26,9 @@ See \helpref{wxHtmlHelpController}{wxhtmlhelpcontroller}. \wxheading{Setting up wxHtmlWindow} Because wxHtmlWindow is derived from wxScrolledWindow and not from -wxFrame, it doesn't have visible frame. But the user usually want to see -the title of HTML page displayed somewhere and frame's titlebar is -ideal place for it. +wxFrame, it doesn't have visible frame. But the user usually wants to see +the title of HTML page displayed somewhere and the frame's titlebar is +the ideal place for it. wxHtmlWindow provides 2 methods in order to handle this: \helpref{SetRelatedFrame}{wxhtmlwindowsetrelatedframe} and @@ -43,8 +41,8 @@ See the example: html -> SetRelatedStatusBar(0); \end{verbatim} -The first command associates html object with it is parent frame -(this points to wxFrame object there) and sets format of title. +The first command associates the HTML object with its parent frame +(this points to wxFrame object there) and sets the format of the title. Page title "Hello, world!" will be displayed as "HTML : Hello, world!" in this example.