]> git.saurik.com Git - wxWidgets.git/commitdiff
many fixes in documentation so that it compiles with LaTeX - get rid of \end{document...
authorVáclav Slavík <vslavik@fastmail.fm>
Fri, 24 Dec 1999 23:40:13 +0000 (23:40 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Fri, 24 Dec 1999 23:40:13 +0000 (23:40 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5109 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

40 files changed:
docs/latex/wx/app.tex
docs/latex/wx/body.tex
docs/latex/wx/classes.tex
docs/latex/wx/datstrm.tex
docs/latex/wx/evthand.tex
docs/latex/wx/file.tex
docs/latex/wx/fontlist.tex
docs/latex/wx/fs.tex
docs/latex/wx/ftp.tex
docs/latex/wx/function.tex
docs/latex/wx/htcell.tex
docs/latex/wx/htcontnr.tex
docs/latex/wx/htdcrend.tex
docs/latex/wx/hthelpct.tex
docs/latex/wx/htmlcell.tex
docs/latex/wx/htmlhlpf.tex
docs/latex/wx/htparser.tex
docs/latex/wx/httag.tex
docs/latex/wx/http.tex
docs/latex/wx/htwindow.tex
docs/latex/wx/htwinprs.tex
docs/latex/wx/hworld.tex
docs/latex/wx/image.tex
docs/latex/wx/inputstr.tex
docs/latex/wx/listbox.tex
docs/latex/wx/manual.tex
docs/latex/wx/outptstr.tex
docs/latex/wx/socket.tex
docs/latex/wx/stream.tex
docs/latex/wx/strmfile.tex
docs/latex/wx/strmmem.tex
docs/latex/wx/tbitmap.tex
docs/latex/wx/tlog.tex
docs/latex/wx/toolbar.tex
docs/latex/wx/treeevt.tex
docs/latex/wx/tunicode.tex
docs/latex/wx/txtstrm.tex
docs/latex/wx/window.tex
docs/latex/wx/wxPython.tex
docs/latex/wx/wxhtml.tex

index 12e553cd56b35f074f4a463ef51350b64c003a89..cd5a9fd40021712626c5a5d6f5aaf7ff20a3871d 100644 (file)
@@ -451,5 +451,5 @@ can be overridden by the user to change the default icons.
 
 \wxheading{Parameters}
 
-\docparam{which}{One of the wxICON_XXX defines and chooses which icon to return.}
+\docparam{which}{One of the wxICON\_XXX defines and chooses which icon to return.}
 
index e1ed4458e5dc1e199a1e69ec2cf08a6018a8e804..d7f0e29828a0e6f30be57ee42ac2c72a92a73db0 100644 (file)
@@ -320,11 +320,11 @@ multi-megabyte .pch files.
 \section{Libraries}
 
 The GTK and Motif ports of wxWindow can create either a static library or a shared
-library on most Unix or Unix-like systems. The static library is called libwx_gtk.a
-and libwx_motif.a whereas the name of the shared library is dependent on the
+library on most Unix or Unix-like systems. The static library is called libwx\_gtk.a
+and libwx\_motif.a whereas the name of the shared library is dependent on the
 system it is created on and the version you are using. The library name for the
-GTK version of wxWindows 2.2 on Linux and Solaris will be libwx_gtk-2.2.so.0.0.0,
-on HP-UX, it will be libwx_gtk-2.2.sl, on AIX just libwx_gtk.a etc.
+GTK version of wxWindows 2.2 on Linux and Solaris will be libwx\_gtk-2.2.so.0.0.0,
+on HP-UX, it will be libwx\_gtk-2.2.sl, on AIX just libwx\_gtk.a etc.
 
 Under Windows, use the library wx.lib for stand-alone Windows
 applications, or wxdll.lib for creating DLLs.
index 0d4e36165f68b0d9a01d260b2c20368777f712f3..c6a7c567874e12766f137267df5e0c733258574a 100644 (file)
@@ -1,7 +1,6 @@
 \chapter{Alphabetical class reference}\label{classref}
 \setheader{{\it CHAPTER \thechapter}}{}{}{}{}{{\it CHAPTER \thechapter}}%
 \setfooter{\thepage}{}{}{}{}{\thepage}%
-\pagenumbering{arabic}%
 
 \input accel.tex
 \input activevt.tex
 \input strmzlib.tex
 \input function.tex
 \input keycode.tex
-
index 037a730d1693a9bf8fe42ebb15e867e496b07727..f1adb8aed5b30887812feebab434e8c387fc1819 100644 (file)
@@ -60,9 +60,9 @@ Destroys the wxDataInputStream object.
 
 \membersection{wxDataInputStream::BigEndianOrdered}
 
-\func{void}{BigEndianOrdered}{\param{bool}{ be_order}}
+\func{void}{BigEndianOrdered}{\param{bool}{ be\_order}}
 
-If {\it be_order} is TRUE, all data will be read in big-endian
+If {\it be\_order} is TRUE, all data will be read in big-endian
 order, such as written by programs on a big endian architecture 
 (e.g. Sparc) or written by Java-Streams (which always use 
 big-endian order).
@@ -143,9 +143,9 @@ Destroys the wxDataOutputStream object.
 
 \membersection{wxDataOutputStream::BigEndianOrdered}
 
-\func{void}{BigEndianOrdered}{\param{bool}{ be_order}}
+\func{void}{BigEndianOrdered}{\param{bool}{ be\_order}}
 
-If {\it be_order} is TRUE, all data will be written in big-endian
+If {\it be\_order} is TRUE, all data will be written in big-endian
 order, e.g. for reading on a Sparc or from Java-Streams (which
 always use big-endian order), otherwise data will be written in
 little-endian order.
index 84bd8b92b46e32a7b77b8d1ee2a2f2370613353e..79bec646481c4c3ccdeba4642d656358043b86a0 100644 (file)
@@ -101,11 +101,11 @@ is an alternative to the use of static event tables. See the 'dynamic' sample fo
 \membersection{wxEvtHandler::Disconnect}\label{wxevthandlerdisconnect}
 
 \func{bool}{Disconnect}{\param{int}{ id},
- \param{wxEventType }{eventType = wxEVT_NULL}, \param{wxObjectEventFunction}{ function = NULL},
+ \param{wxEventType }{eventType = wxEVT\_NULL}, \param{wxObjectEventFunction}{ function = NULL},
  \param{wxObject*}{ userData = NULL}}
 
 \func{bool}{Disconnect}{\param{int}{ id}, \param{int}{ lastId = -1},
- \param{wxEventType }{eventType = wxEVT_NULL}, \param{wxObjectEventFunction}{ function = NULL},
+ \param{wxEventType }{eventType = wxEVT\_NULL}, \param{wxObjectEventFunction}{ function = NULL},
  \param{wxObject*}{ userData = NULL}}
 
 Disconnects the given function dynamically from the event handler, using the specified
index 4795f3e86235ccd9c55c79afc598dcd2f08a08ca..8d799e648c920426e703ffafe85ab413472dfbf8 100644 (file)
@@ -452,7 +452,7 @@ Returns the current position.
 
 \membersection{wxFFile::Write}\label{wxffilewrite}
 
-\func{size_t}{Write}{\param{const void*}{ buffer}, \param{size\_t}{ count}}
+\func{size\_t}{Write}{\param{const void*}{ buffer}, \param{size\_t}{ count}}
 
 Writes the specified number of bytes from a buffer.
 
index dbe63b05808a695dec996644804e0fbcec9a33a2..f46812756ee72ba1f3e5268935148421f2f97708 100644 (file)
@@ -38,7 +38,7 @@ Used by wxWindows to add a font to the list, called in the font constructor.
 \membersection{wxFontList::FindOrCreateFont}\label{findorcreatefont}
 
 \func{wxFont *}{FindOrCreateFont}{\param{int}{ point\_size}, \param{int}{ family}, \param{int}{ style}, \param{int}{ weight}, \param{bool}{ underline = FALSE},
- \param{const wxString\& }{facename = NULL}, \param{wxFontEncoding }{encoding = wxFONTENCODING_DEFAULT}{}}
+ \param{const wxString\& }{facename = NULL}, \param{wxFontEncoding }{encoding = wxFONTENCODING\_DEFAULT}{}}
 
 Finds a font of the given specification, or creates one and adds it to the list. See the \helpref{wxFont constructor}{wxfontconstr} for
 details of the arguments.
index a5f89c95138395b56b81c7dfc894812173e37a22..277eb0ecef061dafda339d565a627c8b91e5971a 100644 (file)
@@ -48,7 +48,7 @@ file:archives/cpp\_doc.zip\#zip:reference/fopen.htm\#syntax
 
 In this example, protocol is "zip", left location is
 "reference/fopen.htm", anchor is "syntax" and right location
-is "file:archives/cpp_doc.zip". It is used by zip handler
+is "file:archives/cpp\_doc.zip". It is used by zip handler
 to determine in what file this particular zip VFS is stored.
 
 In fact there are two protocols used in this example: zip and file.
index 2d58aea0877bd2037e3b418497beb6cc651be70a..b8c25d08b95eabdecf42e9fc1d65898a2eeb74f4 100644 (file)
@@ -22,7 +22,7 @@
 
 \func{bool}{SendCommand}{\param{const wxString\&}{ command}, \param{char }{ret}}
 
-Send the specified \it{command} to the FTP server. \it{ret} specifies
+Send the specified {\it command} to the FTP server. {\it ret} specifies
 the expected result.
 
 \wxheading{Return value}
@@ -72,7 +72,7 @@ Returns the current FTP working directory.
 
 \func{bool}{Rename}{\param{const wxString\&}{ src}, \param{const wxString\&}{ dst}}
 
-Rename the specified \it{src} element to \it{dst}. Returns TRUE if successful.
+Rename the specified {\it src} element to {\it dst}. Returns TRUE if successful.
 
 % ----------------------------------------------------------------------------
 
@@ -80,7 +80,7 @@ Rename the specified \it{src} element to \it{dst}. Returns TRUE if successful.
 
 \func{bool}{RmFile}{\param{const wxString\&}{ path}}
 
-Delete the file specified by \it{path}. Returns TRUE if successful.
+Delete the file specified by {\it path}. Returns TRUE if successful.
 
 % ----------------------------------------------------------------------------
 
@@ -124,8 +124,8 @@ to specify a user and a password.
 \func{wxList *}{GetList}{\param{const wxString\&}{ wildcard}}
 
 The GetList function is quite low-level. It returns the list of the files in
-the current directory. The list can be filtered using the \it{wildcard} string.
-If \it{wildcard} is a NULL string, it will return all files in directory.
+the current directory. The list can be filtered using the {\it wildcard} string.
+If {\it wildcard} is a NULL string, it will return all files in directory.
 
 The form of the list can change from one peer system to another. For example,
 for a UNIX peer system, it will look like this:
@@ -154,7 +154,7 @@ The list is a string list and one node corresponds to a line sent by the peer.
 
 \func{wxOutputStream *}{GetOutputStream}{\param{const wxString\&}{ file}}
 
-Initializes an output stream to the specified \it{file}. The returned
+Initializes an output stream to the specified {\it file}. The returned
 stream has all but the seek functionality of wxStreams. When the user finishes
 writing data, he has to delete the stream to close it.
 
index 9dcba0b2e7a7a89f4dfb654ef5e73a4583454754..3a5343e446ad6501a1a3b029bb774633bd236b2a 100644 (file)
@@ -2026,7 +2026,7 @@ base classes.
 
 This macro loads a bitmap from either application resources (on the platforms
 for which they exist, i.e. Windows and OS2) or from an XPM file. It allows to
-avoid using {\tt #ifdef}s when creating bitmaps.
+avoid using {\tt \#ifdef}s when creating bitmaps.
 
 \wxheading{See also}
 
@@ -2090,7 +2090,7 @@ Example:
 
 This macro loads an icon from either application resources (on the platforms
 for which they exist, i.e. Windows and OS2) or from an XPM file. It allows to
-avoid using {\tt #ifdef}s when creating icons.
+avoid using {\tt \#ifdef}s when creating icons.
 
 \wxheading{See also}
 
index b59bb47f29bd9b08560ae367e483834983b9febb..bd61fbd2abc60c1dbb2336ba786cd669cb022255 100644 (file)
@@ -62,10 +62,10 @@ Renders the cell.
 add this to m\_PosX,m\_PosY when passing coordinates to dc's methods
 Example : {\tt dc -> DrawText("hello", x + m\_PosX, y + m\_PosY)}}
 
-\docparam{view_y1}{y-coord of the first line visible in window. This is
+\docparam{view\_y1}{y-coord of the first line visible in window. This is
 used to optimize rendering speed}
 
-\docparam{view_y2}{y-coord of the last line visible in window. This is
+\docparam{view\_y2}{y-coord of the last line visible in window. This is
 used to optimize rendering speed}
 
 \membersection{wxHtmlCell::DrawInvisible}\label{wxhtmlcelldrawinvisible}
@@ -96,7 +96,7 @@ return pointer to the first cell that matches the condition)
 
 It is recommended way how to obtain pointer to particular cell or
 to cell of some type (e.g. wxHtmlAnchorCell reacts on
-HTML_COND_ISANCHOR condition)
+HTML\_COND\_ISANCHOR condition)
 
 \wxheading{Parameters}
 
@@ -107,9 +107,9 @@ HTML_COND_ISANCHOR condition)
 \wxheading{Defined conditions}
 
 \begin{twocollist}\itemsep=0pt
-\twocolitem{{\bf HTML_COND_ISANCHOR}}{Finds particular anchor. 
+\twocolitem{{\bf HTML\_COND\_ISANCHOR}}{Finds particular anchor. 
 {\it param} is pointer to wxString with name of the anchor.}
-\twocolitem{{\bf HTML_COND_USER}}{User-defined conditions start
+\twocolitem{{\bf HTML\_COND\_USER}}{User-defined conditions start
 from this number.}
 \end{twocollist}
 
@@ -117,15 +117,17 @@ from this number.}
 
 \constfunc{int}{GetDescent}{\void}
 
-Returns descent value of the cell (m_Descent member). See explanation:
+Returns descent value of the cell (m\_Descent member). 
+\helponly{See explanation:
 
 \image{}{descent.bmp}
+}
 
 \membersection{wxHtmlCell::GetHeight}\label{wxhtmlcellgetheight}
 
 \constfunc{int}{GetHeight}{\void}
 
-Returns height of the cell (m_Height member).
+Returns height of the cell (m\_Height member).
 
 \membersection{wxHtmlCell::GetLink}\label{wxhtmlcellgetlink}
 
@@ -139,7 +141,7 @@ See \helpref{wxHtmlLinkInfo}{wxhtmllinkinfo}.
 
 \docparam{x,y}{Coordinates of position where the user pressed mouse button.
 These coordinates are used e.g. by COLORMAP. Values are relative to the
-upper left corner of THIS cell (i.e. from 0 to m_Width or m_Height)}
+upper left corner of THIS cell (i.e. from 0 to m\_Width or m\_Height)}
 
 \membersection{wxHtmlCell::GetNext}\label{wxhtmlcellgetnext}
 
@@ -174,7 +176,7 @@ parent's \helpref{Layout}{wxhtmlcelllayout} was called before!
 
 \constfunc{int}{GetWidth}{\void}
 
-Returns width of the cell (m_Width member).
+Returns width of the cell (m\_Width member).
 
 \membersection{wxHtmlCell::Layout}\label{wxhtmlcelllayout}
 
index 2053c88c8745193503fae927ea19a8fe570c2a23..a966c58cdaa885bc2ea0b5c38ef666cbf5ba9538 100644 (file)
@@ -124,7 +124,7 @@ Sets the container's {\it vertical alignment}. This is per-line alignment!
 \twocolitem{{\bf HTML\_ALIGN\_TOP}}{cells are under the line}
 \end{twocollist}
 
-\image{}{alignv.bmp}
+\helponly{\image{}{alignv.bmp}}
 }
 
 \membersection{wxHtmlContainerCell::SetBackgroundColour}\label{wxhtmlcontainercellsetbackgroundcolour}
@@ -168,7 +168,7 @@ combination of following constants:
 \twocolitem{{\bf HTML\_INDENT\_ALL}}{all 4 borders}
 \end{twocollist}
 
-\image{}{indent.bmp}
+\helponly{\image{}{indent.bmp}}
 }
 
 \docparam{units}{Units of {\it i}. This parameter affects interpretation of {\it} value.
@@ -182,7 +182,7 @@ of parent container}
 
 \membersection{wxHtmlContainerCell::SetMinHeight}\label{wxhtmlcontainercellsetminheight}
 
-\func{void}{SetMinHeight}{\param{int }{h}, \param{int }{align = HTML_ALIGN_TOP}}
+\func{void}{SetMinHeight}{\param{int }{h}, \param{int }{align = HTML\_ALIGN\_TOP}}
 
 Sets minimal height of the container.
 
@@ -197,15 +197,15 @@ much smaller area.
 \docparam{h}{The minimal height.}
 
 \docparam{align}{If height of the container is lower than the minimum height, empty space must be inserted
-somewhere in order to ensure minimal height. This parameter is one of {\bf HTML_ALIGN_TOP,
-HTML_ALIGN_BOTTOM, HTML_ALIGN_CENTER} constants. It refers to the {\it contents}, not to the
+somewhere in order to ensure minimal height. This parameter is one of {\bf HTML\_ALIGN\_TOP,
+HTML\_ALIGN\_BOTTOM, HTML\_ALIGN\_CENTER} constants. It refers to the {\it contents}, not to the
 empty place!}
 
 \membersection{wxHtmlContainerCell::SetWidthFloat}\label{wxhtmlcontainercellsetwidthfloat}
 
 \func{void}{SetWidthFloat}{\param{int }{w}, \param{int }{units}}
 
-\func{void}{SetWidthFloat}{\param{const wxHtmlTag\& }{tag}, \param{double }{pixel_scale = 1.0}}
+\func{void}{SetWidthFloat}{\param{const wxHtmlTag\& }{tag}, \param{double }{pixel\_scale = 1.0}}
 
 Sets floating width adjustment.
 
@@ -213,7 +213,7 @@ The normal behaviour of container is that its width is the same as the width of
 parent container (and thus you can have only one sub-container per line).
 You can change this by setting FWA.
 
-{\it pixel_scale} is number of real pixels that equals to 1 HTML pixel.
+{\it pixel\_scale} is number of real pixels that equals to 1 HTML pixel.
 
 \wxheading{Parameters}
 
index 58ae47a2f9765249786650c6d94929a23cf42244..7260505e0e69f4af9958226641656dd73f9a040c 100644 (file)
@@ -23,13 +23,13 @@ Constructor.
 
 \membersection{wxHtmlDCRenderer::SetDC}\label{wxhtmldcrenderersetdc}
 
-\func{void}{SetDC}{\param{wxDC* }{dc}, \param{double }{pixel_scale = 1.0}}
+\func{void}{SetDC}{\param{wxDC* }{dc}, \param{double }{pixel\_scale = 1.0}}
 
 Assign DC instance to the renderer.
 
-{\it pixel_scale} can be used when rendering to high-resolution DCs (e.g. printer) to adjust size of pixel metrics.
-(Many dimensions in HTML are given in pixels - e.g. image sizes. 300x300 image would be only one
-inch wide on typical printer. With pixel_scale = 3.0 it would be 3 inches.)
+{\it pixel\_scale} can be used when rendering to high-resolution DCs (e.g. printer) to adjust size of pixel metrics.
+(Many dimensions in HTML are given in pixels -- e.g. image sizes. 300x300 image would be only one
+inch wide on typical printer. With pixel\_scale = 3.0 it would be 3 inches.)
 
 \wxheading{Parameters}
 
index f425708612bab356cad7add7da5a69b4822b4dca..5bb81c932334edc5e70533a20fb800992ab36333 100644 (file)
@@ -37,7 +37,7 @@ wxEvtHandler
 
 \membersection{wxHtmlHelpController::wxHtmlHelpController}\label{wxhtmlhelpcontrollerwxhtmlhelpcontroller}
 
-\func{}{wxHtmlHelpController}{\param{int }{style = wxHF_DEFAULTSTYLE}}
+\func{}{wxHtmlHelpController}{\param{int }{style = wxHF\_DEFAULTSTYLE}}
 
 Constructor.
 
@@ -57,7 +57,7 @@ Default value : everything enabled.
 
 \membersection{wxHtmlHelpController::AddBook}\label{wxhtmlhelpcontrolleraddbook}
 
-\func{bool}{AddBook}{\param{const wxString\& }{book}, \param{bool }{show_wait_msg}}
+\func{bool}{AddBook}{\param{const wxString\& }{book}, \param{bool }{show\_wait\_msg}}
 
 Adds book (\helpref{.hhp file}{helpformat} - HTML Help Workshop project file) into the list of loaded books.
 This must be called at least once before displaying  any help.
index 3329962e734f7846d8b7cb11d714d4e89d3bf04a..731cb02a126eb506aef28e08dabf5d45a581c806 100644 (file)
@@ -25,7 +25,7 @@ See \helpref{wxHtmlContainerCell}{wxhtmlcontainercell},
 % Bitmap is corrupt!
 This image shows you cells and containers:
 
-\image{}{contbox.bmp}
+\helponly{\image{}{contbox.bmp}}
 \end{comment}
 \wxheading{Using Containers in Tag Handler}
 
@@ -45,7 +45,7 @@ it returns "control" to the parent container.
 % Bitmap corrupt!
 See explanation:
 
-\image{}{cont.bmp}
+\helponly{\image{}{cont.bmp}}
 \end{comment}
 It's clear there must be same number of calls to 
 OpenContainer as to CloseContainer...
@@ -70,7 +70,7 @@ m_WParser -> OpenContainer();
 % Bitmap corrupt!
 and here is image of the situation:
 
-\image{}{hello.bmp}
+\helponly{\image{}{hello.bmp}}
 \end{comment}
 
 You can see that there was opened container before running the code. We closed
index cf3d5fce4873850d1faa58a8d48176b2de6bae6b..3ce8f0238256b08962b80f988f1dda7929d8c64b 100644 (file)
@@ -48,7 +48,7 @@ Contents file has HTML syntax and it can be parsed by regular HTML parser. It co
 \end{verbatim}
 
 You can modify value attributes of param tags. {\it topic name} is name of chapter/topic as is displayed in
-contents, {\it filename.htm} is HTML page name (relative to .hhp file) and {\it numeric_id} is optional 
+contents, {\it filename.htm} is HTML page name (relative to .hhp file) and {\it numeric\_id} is optional 
 - it is used only when you use \helpref{wxHtmlHelpController::Display(int)}{wxhtmlhelpcontrollerdisplay}
 
 Items in the list may be nested - one \verb$<li>$ statement may contain a \verb$<ul>$ sub-statement:
index c682e2be75a71598383f44e4b5279b8dedb77c47..a49b114a929bce5014ba742a81c7b6243006a654 100644 (file)
@@ -122,31 +122,6 @@ See wxHtmlWinParser for details.
 
 Returns pointer to the source being parsed.
 
-\membersection{wxHtmlParser::GetTempData}\label{wxhtmlparsergettempdata}
-
-\func{virtual wxList*}{GetTempData}{\void}
-
-This method returns list of wxObjects that represents
-all data allocated by the parser. These can't be freed
-by the destructor because they must be valid as long as
-GetProduct's return value is valid - the caller must
-explicitly call
-
-\begin{verbatim}
-delete (MyParser -> GetTempData());
-\end{verbatim}
-
-to free the memory (this method always sets the list to delete its contents).
-
-\wxheading{Example}
-
-Why is this neccessary? Imagine wxHtmlWinParser: when handling
-a FONT tag it creates some fonts. These fonts are then used by wxHtmlWindow
-to display the text. But the wxHtmWinParser object is needed only when parsing
-the document - it may be deleted then. But fonts CAN'T be deleted - they
-must exist as long as the window is displaying text.
-
-GetTempData() solves the problem.
 
 \membersection{wxHtmlParser::InitParser}\label{wxhtmlparserinitparser}
 
index 9e9a478e5acae5a4ff6c4c692de4ca48568e74e0..ab8d362aeeac8c4ec7507d3043c57fa558bf038b 100644 (file)
@@ -31,43 +31,46 @@ Returns string with all params.
 Example : tag contains {\tt <FONT SIZE=+2 COLOR="\#000000">}. Call to
 tag.GetAllParams() would return {\tt SIZE=+2 COLOR="\#000000"}.
 
+
 \membersection{wxHtmlTag::GetBeginPos}\label{wxhtmltaggetbeginpos}
 
 \constfunc{int}{GetBeginPos}{\void}
 
 Returns beginning position of the text {\it between} this tag and paired
 ending tag. 
-See explanation (returned position is marked with '^'):
+See explanation (returned position is marked with `|'):
 
 \begin{verbatim}
 bla bla bla <MYTAG> bla bla intenal text</MYTAG> bla bla
-                   ^
+                   |
 \end{verbatim}
 
+
 \membersection{wxHtmlTag::GetEndPos1}\label{wxhtmltaggetendpos1}
 
 \constfunc{int}{GetEndPos1}{\void}
 
 Returns ending position of the text {\it between} this tag and paired
 ending tag.
-See explanation (returned position is marked with '^'):
+See explanation (returned position is marked with `|'):
 
 \begin{verbatim}
 bla bla bla <MYTAG> bla bla intenal text</MYTAG> bla bla
-                                        ^
+                                        |
 \end{verbatim}
 
+
 \membersection{wxHtmlTag::GetEndPos2}\label{wxhtmltaggetendpos2}
 
 \constfunc{int}{GetEndPos2}{\void}
 
 Returns ending position 2 of the text {\it between} this tag and paired
 ending tag.
-See explanation (returned position is marked with '^'):
+See explanation (returned position is marked with `|'):
 
 \begin{verbatim}
 bla bla bla <MYTAG> bla bla intenal text</MYTAG> bla bla
-                                               ^
+                                               |
 \end{verbatim}
 
 \membersection{wxHtmlTag::GetName}\label{wxhtmltaggetname}
@@ -78,6 +81,7 @@ Returns tag's name. The name is always in uppercase and it doesn't contain
 '<' or '/' characters. (So the name of {\tt <FONT SIZE=+2>} tag is "FONT"
 and name of {\tt </table>} is "TABLE")
 
+
 \membersection{wxHtmlTag::GetParam}\label{wxhtmltaggetparam}
 
 \constfunc{wxString}{GetParam}{\param{const wxString\& }{par}, \param{bool }{with\_commas = FALSE}}
index 0df37561ff2860a3fa384d71996d802ff9ad6d58..7b878ead9982ad82fd60a1364a3f1795eaf5cc32 100644 (file)
@@ -53,14 +53,14 @@ to be reestablished: but you don't have to take care of this wxHTTP reestablishe
 \func{void}{SetHeader}{\param{const wxString\&}{ header}, \param{const wxString\&}{ h\_data}}
 
 It sets data of a field to be sent during the next request to the HTTP server. The field
-name is specified by \it{header} and the content by \it{h\_data}.
+name is specified by {\it header} and the content by {\it h\_data}.
 This is a low level function and it assumes that you know what you are doing.
 
 \membersection{wxHTTP::GetHeader}
 
 \func{wxString}{GetHeader}{\param{const wxString\&}{ header}}
 
-Returns the data attached with a field whose name is specified by \it{header}.
+Returns the data attached with a field whose name is specified by {\it header}.
 If the field doesn't exist, it will return an empty string and not a NULL string.
 
 \wxheading{Note}
index cee42f33d71d2d21ca19961407b095d6649af962..ce72559e2ca85de0fa04a108d78c26cb0efd1b00 100644 (file)
@@ -31,7 +31,7 @@ wxScrolledWindow
 
 Default constructor.
 
-\func{}{wxHtmlWindow}{\param{wxWindow }{*parent}, \param{wxWindowID }{id = -1}, \param{const wxPoint\& }{pos = wxDefaultPosition}, \param{const wxSize\& }{size = wxDefaultSize}, \param{long }{style = wxHW_SCROLLBAR_AUTO}, \param{const wxString\& }{name = "htmlWindow"}}
+\func{}{wxHtmlWindow}{\param{wxWindow }{*parent}, \param{wxWindowID }{id = -1}, \param{const wxPoint\& }{pos = wxDefaultPosition}, \param{const wxSize\& }{size = wxDefaultSize}, \param{long }{style = wxHW\_SCROLLBAR\_AUTO}, \param{const wxString\& }{name = "htmlWindow"}}
 
 Constructor. The parameters are the same as for the \helpref{wxScrolledWindow}{wxscrolledwindow} constructor.
 
@@ -158,7 +158,7 @@ Read values: all things set by SetFonts, SetBorders.
 
 This function sets the space between border of window and HTML contents. See image:
 
-\image{}{border.bmp}
+\helponly{\image{}{border.bmp}}
 
 \wxheading{Parameters}
 
index 0f322c46a5ab2842ed143e532eec1dab1cb64a5c..4eb02251932da41b43ff743530a42fbc89a21768 100644 (file)
@@ -14,8 +14,6 @@ its mail goal is to parse HTML input so that it can be displayed in
 
 \begin{enumerate}
 \item Product of parsing is wxHtmlCell (resp. wxHtmlContainer) object.
-\item This parser produces temporary data! You should call
-\helpref{delete GetTempData()}{wxhtmlparsergettempdata}!
 \end{enumerate}
 
 \wxheading{Derived from}
@@ -63,9 +61,6 @@ Creates font based on current setting (see
 and returns pointer to it.
 (If the font was already created only a pointer is returned.)
 
-Fonts created during parsing are temporary data and are not freed on DoneParser.
-You must call \helpref{delete myparser->GetTempData();}{wxhtmlparsergettempdata}
-to free the memory!
 
 \membersection{wxHtmlWinParser::GetActualColor}\label{wxhtmlwinparsergetactualcolor}
 
@@ -120,6 +115,13 @@ Returns pointer to the DC used during parsing.
 
 Returns TRUE if actual font is bold, FALSE otherwise.
 
+\membersection{wxHtmlWinParser::GetFontFace}\label{wxhtmlwinparsergetfontface}
+
+\constfunc{wxString}{GetFontFace}{\void}
+
+Returns actual font face name.
+
+
 \membersection{wxHtmlWinParser::GetFontFixed}\label{wxhtmlwinparsergetfontfixed}
 
 \constfunc{int}{GetFontFixed}{\void}
@@ -176,7 +178,7 @@ title only if some window is associated, otherwise it does nothing)
 
 Opens new container and returns pointer to it (see \helpref{Overview}{cells}).
 
-%
+
 \membersection{wxHtmlWinParser::SetActualColor}\label{wxhtmlwinparsersetactualcolor}
 
 \func{void}{SetActualColor}{\param{const wxColour\& }{clr}}
@@ -192,22 +194,25 @@ Sets default horizontal alignment (see
 \helpref{wxHtmlContainerCell::SetAlignHor}{wxhtmlcontainercellsetalignhor}.)
 Alignment of newly opened container is set to this value.
 
-%\membersection{wxHtmlWinParser::SetContainer}\label{wxhtmlwinparsersetcontainer}
-%
-%\func{wxHtmlContainerCell*}{SetContainer}{\param{wxHtmlContainerCell *}{c}}
-%
-%Allows you to directly set opened container. This is not recommended - you should use OpenContainer
-%whereever possible.
-%
+
+\membersection{wxHtmlWinParser::SetContainer}\label{wxhtmlwinparsersetcontainer}
+
+\func{wxHtmlContainerCell*}{SetContainer}{\param{wxHtmlContainerCell *}{c}}
+
+Allows you to directly set opened container. This is not recommended - you should use OpenContainer
+whereever possible.
+
 
 \membersection{wxHtmlWinParser::SetDC}\label{wxhtmlwinparsersetdc}
 
-\func{virtual void}{SetDC}{\param{wxDC }{*dc}, \param{double }{pixel_scale = 1.0}}
+\func{virtual void}{SetDC}{\param{wxDC }{*dc}, \param{double }{pixel\_scale = 1.0}}
+
+Sets the DC. This must be called before \helpref{Parse}{wxhtmlparserparse}!
+{\it pixel\_scale}  can be used when rendering to high-resolution 
+DCs (e.g. printer) to adjust size of pixel metrics. (Many dimensions in 
+HTML are given in pixels -- e.g. image sizes. 300x300 image would be only one
+inch wide on typical printer. With pixel\_scale = 3.0 it would be 3 inches.)
 
-Sets the DC. This must be called before \helpref{Parse}{wxhtmlparserparse}! {\it pixel_scale}
-can be used when rendering to high-resolution DCs (e.g. printer) to adjust size of pixel metrics.
-(Many dimensions in HTML are given in pixels - e.g. image sizes. 300x300 image would be only one
-inch wide on typical printer. With pixel_scale = 3.0 it would be 3 inches.)
 
 \membersection{wxHtmlWinParser::SetFontBold}\label{wxhtmlwinparsersetfontbold}
 
@@ -215,6 +220,14 @@ inch wide on typical printer. With pixel_scale = 3.0 it would be 3 inches.)
 
 Sets bold flag of actualfont. {\it x} is either TRUE of FALSE.
 
+\membersection{wxHtmlWinParser::SetFontFace}\label{wxhtmlwinparsersetfontface}
+
+\func{void}{SetFontFace}{\param{const wxString\& }{face}}
+
+Sets current font face to {\it face}. This affects either fixed size
+font or proportional, depending on context (whether the parser is 
+inside {\tt <TT>} tag or not).
+
 \membersection{wxHtmlWinParser::SetFontFixed}\label{wxhtmlwinparsersetfontfixed}
 
 \func{void}{SetFontFixed}{\param{int }{x}}
@@ -227,6 +240,7 @@ Sets fixed face flag of actualfont. {\it x} is either TRUE of FALSE.
 
 Sets italic flag of actualfont. {\it x} is either TRUE of FALSE.
 
+
 \membersection{wxHtmlWinParser::SetFontSize}\label{wxhtmlwinparsersetfontsize}
 
 \func{void}{SetFontSize}{\param{int }{s}}
index c98152b516ef29cff88b37cbfedef14575327cf8..72116a4400b36b84d6f8a78cae4fd9326236c92b 100644 (file)
@@ -6,8 +6,8 @@ and basic principles can be made, you can now look at wxWindows'
 "Hello World":
 
 You have to include wxWindows's header files, of course. This can
-be done on a file by file basis (such as #include "wx/window.h")
-or using one global include (#include "wx/wx.h"). This is
+be done on a file by file basis (such as \#include "wx/window.h")
+or using one global include (\#include "wx/wx.h"). This is
 also useful on platforms which support precompiled headers such
 as all major compilers on the Windows platform.
 
index f1b4eb26376d0429c985a1a46fb092556a87505b..2428ee35fb889e810d516ae6f4bc8bfe47b69a58 100644 (file)
@@ -264,7 +264,7 @@ Gets the red value of the mask colour.
 
 \membersection{wxImage::GetSubImage}\label{wximagegetsubimage}
 
-\constfunc{wxImage}{GetSubImage}{\param{const wxRect&}{rect}}
+\constfunc{wxImage}{GetSubImage}{\param{const wxRect\&}{rect}}
 
 Returns a sub image of the current one as long as the rect belongs entirely to 
 the image.
index ac2f97a3f742ba242fec2943cac6e3fa945d0b49..1df6d394dc92533b4a23621ea18d60fa72ef75ff 100644 (file)
@@ -50,7 +50,7 @@ Returns the first character in the input queue without removing it.
 
 \func{wxInputStream\&}{Read}{\param{void *}{buffer}, \param{size\_t}{ size}}
 
-Reads the specified amount of bytes and stores the data in \it{buffer}.
+Reads the specified amount of bytes and stores the data in {\it buffer}.
 
 \wxheading{Warning}
 
@@ -87,7 +87,7 @@ Returns the current stream position.
 
 \func{size\_t}{Ungetch}{\param{const char*}{ buffer}, \param{size\_t}{ size}}
 
-This function is only useful in \it{read} mode. It is the manager of the "Write-Back"
+This function is only useful in {\it read} mode. It is the manager of the "Write-Back"
 buffer. This buffer acts like a temporary buffer where datas which has to be
 read during the next read IO call are put. This is useful when you get a big
 block of data which you didn't want to read: you can replace them at the top
index 5fb33ba364606950db713234cd2153df815d57d8..afa4f8135536424968eac19a825b39e74dd3abda 100644 (file)
@@ -215,7 +215,7 @@ Applicable to single selection list boxes only.
 
 \membersection{wxListBox::GetSelections}\label{wxlistboxgetselections}
 
-\constfunc{int}{GetSelections}{\param{wxArrayInt& }{selections}}
+\constfunc{int}{GetSelections}{\param{wxArrayInt\& }{selections}}
 
 Fill an array of ints with the positions of the currently selected items.
 
index 8130375e2e7d437335cdc68fcc2213e80d032238..aa15549152a42f87e973cc518cdd1ffaaa42240e 100644 (file)
@@ -46,7 +46,7 @@ Robin Dunn, et al}
 % A special table of contents for the WinHelp manual
 \begin{comment}
 \winhelponly{
-\chapter*{wxWindows class library reference}\label{winhelpcontents}
+\chapter{wxWindows class library reference}\label{winhelpcontents}
 
 \center{
 %\image{}{wxwin.wmf}
@@ -81,7 +81,7 @@ Robin Dunn, et al}
 }
 \end{comment}
 
-\chapter*{Copyright notice}
+\chapter{Copyright notice}
 \setheader{{\it COPYRIGHT}}{}{}{}{}{{\it COPYRIGHT}}%
 \setfooter{\thepage}{}{}{}{}{\thepage}%
 
@@ -94,47 +94,47 @@ Portions (c) 1996 Artificial Intelligence Applications Institute\\
 Please also see the wxWindows licence files (preamble.txt, lgpl.txt, gpl.txt, licence.txt,
 licendoc.txt) for conditions of software and documentation use.
 
-\begin{verbatim}
-wxWindows Library License, Version 3
-====================================
-     
+\section*{wxWindows Library License, Version 3}
+
   Copyright (C) 1998 Julian Smart, Robert Roebling, Vadim Zeitlin et al. 
 
   Everyone is permitted to copy and distribute verbatim copies
   of this license document, but changing it is not allowed. 
-                          WXWINDOWS LIBRARY LICENSE 
-     TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 
+
+\begin{center}
+WXWINDOWS LIBRARY LICENSE\\
+TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 
+\end{center}
+
   This library is free software; you can redistribute it and/or modify it 
   under the terms of the GNU Library General Public License as published by 
   the Free Software Foundation; either version 2 of the License, or (at 
   your option) any later version. 
-   
+
   This library is distributed in the hope that it will be useful, but 
-  WITHOUT ANY WARRANTY; without even the implied warranty of MERCHAN- 
-  TABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Library 
+  WITHOUT ANY WARRANTY; without even the implied warranty of 
+  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Library 
   General Public License for more details. 
+
   You should have received a copy of the GNU Library General Public License 
   along with this software, usually in a file named COPYING.LIB.  If not,   
   write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330,  
-  Boston, MA 02111-1307 USA. 
+  Boston, MA~02111-1307 USA. 
+
   EXCEPTION NOTICE 
+
   1. As a special exception, the copyright holders of this library give 
   permission for additional uses of the text contained in this release of 
   the library as licensed under the wxWindows Library License, applying 
   either version 3 of the License, or (at your option) any later version of 
   the License as published by the copyright holders of version 3 of the 
   License document. 
+
   2. The exception is that you may create binary object code versions of any 
   works using this library or based on this library, and use, copy, modify, 
   link and distribute such binary object code files unrestricted under terms 
   of your choice. 
+
   3. If you copy code from files distributed under the terms of the GNU 
   General Public License or the GNU Library General Public License into a 
   copy of this library, as this license permits, the exception does not   
@@ -142,30 +142,30 @@ wxWindows Library License, Version 3
   to the status of such modified files, you must delete this exception 
   notice from such code and/or adjust the licensing conditions notice  
   accordingly. 
+
   4. If you write modifications of your own for this library, it is your 
   choice whether to permit this exception to apply to your modifications. 
   If you do not wish that, you must delete the exception notice from such 
   code and/or adjust the licensing conditions notice accordingly. 
 
 
-GNU Library General Public License, Version 2
-=============================================
+\section*{GNU Library General Public License, Version 2}
 
  Copyright (C) 1991 Free Software Foundation, Inc.
-                    675 Mass Ave, Cambridge, MA 02139, USA
+ 675 Mass Ave, Cambridge, MA 02139, USA
+
  Everyone is permitted to copy and distribute verbatim copies
  of this license document, but changing it is not allowed.
 
 [This is the first released version of the library GPL.  It is
  numbered 2 because it goes with version 2 of the ordinary GPL.]
 
-                           Preamble
+\wxheading{Preamble}
 
   The licenses for most software are designed to take away your
-freedom to share and change it.  By contrast, the GNU General Public
+freedom to share and change it. By contrast, the GNU General Public
 Licenses are intended to guarantee your freedom to share and change
-free software--to make sure the software is free for all its users.
+free software -- to make sure the software is free for all its users.
 
   This license, the Library General Public License, applies to some
 specially designated Free Software Foundation software, and to any
@@ -250,8 +250,10 @@ works together with the library.
   Note that it is possible for a library to be covered by the ordinary
 General Public License rather than by this special one.
 
-                 GNU LIBRARY GENERAL PUBLIC LICENSE
+\begin{center}
+                 GNU LIBRARY GENERAL PUBLIC LICENSE\\
    TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
+\end{center}
 
   0. This License Agreement applies to any software library which
 contains a notice placed by the copyright holder or other authorized
@@ -302,6 +304,7 @@ of it, thus forming a work based on the Library, and copy and
 distribute such modifications or work under the terms of Section 1
 above, provided that you also meet all of these conditions:
 
+\begin{indented}{1cm}
     a) The modified work must itself be a software library.
 
     b) You must cause the files modified to carry prominent notices
@@ -323,7 +326,8 @@ above, provided that you also meet all of these conditions:
     application.  Therefore, Subsection 2d requires that any
     application-supplied function or table used by this function must
     be optional: if the application does not supply it, the square
-    root function must still compute square roots.)
+    root function must still compute square roots.) 
+\end{indented}
 
 These requirements apply to the modified work as a whole.  If
 identifiable sections of that work are not derived from the Library,
@@ -421,6 +425,8 @@ copyright notice for the Library among them, as well as a reference
 directing the user to the copy of this License.  Also, you must do one
 of these things:
 
+
+\begin{indented}{1cm}
     a) Accompany the work with the complete corresponding
     machine-readable source code for the Library including whatever
     changes were used in the work (which must be distributed under
@@ -444,6 +450,7 @@ of these things:
 
     d) Verify that the user has already received a copy of these
     materials or that you have already sent this user a copy.
+\end{indented}
 
   For an executable, the required form of the "work that uses the
 Library" must include any data and utility programs needed for
@@ -467,6 +474,7 @@ library, provided that the separate distribution of the work based on
 the Library and of the other library facilities is otherwise
 permitted, and provided that you do these two things:
 
+\begin{indented}{1cm}
     a) Accompany the combined library with a copy of the same work
     based on the Library, uncombined with any other library
     facilities.  This must be distributed under the terms of the
@@ -475,6 +483,7 @@ permitted, and provided that you do these two things:
     b) Give prominent notice with the combined library of the fact
     that part of it is a work based on the Library, and explaining
     where to find the accompanying uncombined form of the same work.
+\end{indented}
 
   8. You may not copy, modify, sublicense, link with, or distribute
 the Library except as expressly provided under this License.  Any
@@ -562,7 +571,9 @@ decision will be guided by the two goals of preserving the free status
 of all derivatives of our free software and of promoting the sharing
 and reuse of software generally.
 
+\begin{center}
                            NO WARRANTY
+\end{center}
 
   15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
 WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
@@ -585,9 +596,12 @@ FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
 SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
 DAMAGES.
 
+
+\begin{center}
                     END OF TERMS AND CONDITIONS
+\end{center}
 
-     Appendix: How to Apply These Terms to Your New Libraries
+\wxheading{Appendix: How to Apply These Terms to Your New Libraries}
 
   If you develop a new library, and you want it to be of the greatest
 possible use to the public, we recommend making it free software that
@@ -600,22 +614,27 @@ safest to attach them to the start of each source file to most effectively
 convey the exclusion of warranty; and each file should have at least the
 "copyright" line and a pointer to where the full notice is found.
 
-    <one line to give the library's name and a brief idea of what it does.>
-    Copyright (C) <year>  <name of author>
-
-    This library is free software; you can redistribute it and/or
-    modify it under the terms of the GNU Library General Public
-    License as published by the Free Software Foundation; either
-    version 2 of the License, or (at your option) any later version.
-
-    This library is distributed in the hope that it will be useful,
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-    Library General Public License for more details.
+\footnotesize{
+\begin{verbatim}
+<one line to give the library's name and a brief idea of what it does.>
+Copyright (C) <year>  <name of author>
+
+This library is free software; you can redistribute it and/or
+modify it under the terms of the GNU Library General Public
+License as published by the Free Software Foundation; either
+version 2 of the License, or (at your option) any later version.
+
+This library is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+Library General Public License for more details.
+
+You should have received a copy of the GNU Library General Public
+License along with this library; if not, write to the Free
+Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+\end{verbatim}
+}
 
-    You should have received a copy of the GNU Library General Public
-    License along with this library; if not, write to the Free
-    Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 
 Also add information on how to contact you by electronic and paper mail.
 
@@ -623,23 +642,26 @@ You should also get your employer (if you work as a programmer) or your
 school, if any, to sign a "copyright disclaimer" for the library, if
 necessary.  Here is a sample; alter the names:
 
-  Yoyodyne, Inc., hereby disclaims all copyright interest in the
-  library `Frob' (a library for tweaking knobs) written by James Random Hacker.
+\footnotesize{
+\begin{verbatim}
+Yoyodyne, Inc., hereby disclaims all copyright interest in the
+library `Frob' (a library for tweaking knobs) written by James Random Hacker.
+
+<signature of Ty Coon>, 1 April 1990
+Ty Coon, President of Vice
+\end{verbatim} 
+}
 
-  <signature of Ty Coon>, 1 April 1990
-  Ty Coon, President of Vice
 
 That's all there is to it!
 
-\end{verbatim}
-
 
 \input{body.tex}
-\helpinput{classes.tex}
-\helpinput{category.tex}
-\helpinput{topics.tex}
-\helpinput{wxhtml.tex}
-\helpinput{wxPython.tex}
+\input{classes.tex}
+\input{category.tex}
+\input{topics.tex}
+\input{wxhtml.tex}
+\input{wxPython.tex}
 
 \begin{comment}
 \newpage
index 4bad3f454cd4452a7b3f7094ec34a7fa8346a9b2..6fec17cdfe863909d1cd96c1432c29479e5786cc 100644 (file)
@@ -57,8 +57,8 @@ Returns the current stream position.
 
 \func{wxOutputStream\&}{Write}{\param{const void *}{buffer}, \param{size\_t}{ size}}
 
-Writes the specified amount of bytes using the data of \it{buffer}. 
-\it{WARNING!} The buffer absolutely needs to have at least the specified size.
+Writes the specified amount of bytes using the data of {\it buffer}. 
+{\it WARNING!} The buffer absolutely needs to have at least the specified size.
 
 This function returns a reference on the current object, so the user can test
 any states of the stream right away.
index bcc46c9218ce373da3f30565a0119497d263a49d..cb9ffa3606710b48a09fd83c0dbe78f86ae714da 100644 (file)
@@ -411,9 +411,9 @@ Returns a reference to the current object.
 
 \wxheading{Remark/Warning}
 
-wxSocketBase::WriteMsg() will behave as if the wxSOCKET_WAITALL flag was always set
-and it will always ignore the wxSOCKET_NOWAIT flag. The exact behaviour of WriteMsg
-depends on the wxSOCKET_BLOCK flag. For a detailed explanation, see \helpref{wxSocketBase::SetFlags}{wxsocketbasesetflags}.
+wxSocketBase::WriteMsg() will behave as if the wxSOCKET\_WAITALL flag was always set
+and it will always ignore the wxSOCKET\_NOWAIT flag. The exact behaviour of WriteMsg
+depends on the wxSOCKET\_BLOCK flag. For a detailed explanation, see \helpref{wxSocketBase::SetFlags}{wxsocketbasesetflags}.
 
 \wxheading{See also}
 
@@ -450,9 +450,9 @@ Returns a reference to the current object.
 
 \wxheading{Remark/Warning}
 
-wxSocketBase::ReadMsg() will behave as if the wxSOCKET_WAITALL flag was always set
-and it will always ignore the wxSOCKET_NOWAIT flag. The exact behaviour of ReadMsg
-depends on the wxSOCKET_SPEED flag. For a detailed explanation, see \helpref{wxSocketBase::SetFlags}{wxsocketbasesetflags}.
+wxSocketBase::ReadMsg() will behave as if the wxSOCKET\_WAITALL flag was always set
+and it will always ignore the wxSOCKET\_NOWAIT flag. The exact behaviour of ReadMsg
+depends on the wxSOCKET\_SPEED flag. For a detailed explanation, see \helpref{wxSocketBase::SetFlags}{wxsocketbasesetflags}.
 
 \wxheading{See also}
 
@@ -653,7 +653,7 @@ Calls to SaveState / RestoreState can be nested.
 %
 \membersection{wxSocketBase::GetLocal}{wxsocketbasegetlocal}
 
-\constfunc{bool}{GetLocal}{\param{wxSockAddress\& }{addr_man}}
+\constfunc{bool}{GetLocal}{\param{wxSockAddress\& }{addr\_man}}
 
 This function returns the local address field of the socket. The local
 address field contains the complete local address of the socket (local
@@ -668,7 +668,7 @@ It returns TRUE if no errors happened, FALSE otherwise.
 %
 \membersection{wxSocketBase::GetPeer}{wxsocketbasegetlocal}
 
-\constfunc{bool}{GetPeer}{\param{wxSockAddress\& }{addr_man}}
+\constfunc{bool}{GetPeer}{\param{wxSockAddress\& }{addr\_man}}
 
 This function returns the peer address field of the socket. The peer 
 address field contains the complete peer host address of the socket
@@ -881,7 +881,7 @@ functions that take a wxSocketEvent argument.
 
 [TODO:]
 A brief note on how to use events.
-The wxSOCKET_INPUT event is generated when the
+The wxSOCKET\_INPUT event is generated when the
 
 \wxheading{See also}
 
index 889dd9efb3bddd618b583902b49455500f3ce9d0..e79c80ad69134e4178fc11c8e05d880801046076 100644 (file)
@@ -24,8 +24,8 @@ None
 
 \func{}{wxStreamBuffer}{\param{wxStreamBase\&}{ stream}, \param{BufMode}{ mode}}
 
-Constructor, creates a new stream buffer using \it{stream} as a parent stream
-and \it{mode} as the IO mode. \it{mode} can be: wxStreamBuffer::read,
+Constructor, creates a new stream buffer using {\it stream} as a parent stream
+and {\it mode} as the IO mode. {\it mode} can be: wxStreamBuffer::read,
 wxStreamBuffer::write, wxStreamBuffer::read\_write.
 
 
@@ -44,7 +44,7 @@ the stream buffers:
 \func{}{wxStreamBuffer}{\param{BufMode}{ mode}}
 
 Constructor, creates a new empty stream buffer which won't flush any data
-to a stream. \it{mode} specifies the type of the buffer (read, write, read\_write).
+to a stream. {\it mode} specifies the type of the buffer (read, write, read\_write).
 This stream buffer has the advantage to be stream independent and to
 work only on memory buffers but it is still compatible with the rest of the
 wxStream classes. You can write, read to this special stream and it will
@@ -96,7 +96,7 @@ It returns the size of the data read. If thereturned size is different of the sp
 
 \func{size\_t}{Read}{\param{wxStreamBuffer *}{buffer}}
 
-Reads a \it{buffer}. The function returns when \it{buffer} is full or when there isn't
+Reads a {\it buffer}. The function returns when {\it buffer} is full or when there isn't
 data anymore in the current buffer.
 
 \wxheading{See also}
@@ -107,7 +107,7 @@ data anymore in the current buffer.
 
 \func{size\_t}{Write}{\param{const void *}{buffer}, \param{size\_t }{size}}
 
-Writes a block of the specified \it{size} using datas of \it{buffer}. The datas
+Writes a block of the specified {\it size} using datas of {\it buffer}. The datas
 are cached in a buffer before being sent in one block to the stream.
 
 \func{size\_t}{Write}{\param{wxStreamBuffer *}{buffer}}
@@ -147,8 +147,8 @@ You aren't directly notified if an error occured during the IO call.
 \constfunc{off\_t}{Tell}{\void}
 
 Gets the current position in the stream. This position is calculated from
-the \it{real} position in the stream and from the internal buffer position: so
-it gives you the position in the \it{real} stream counted from the start of
+the {\it real} position in the stream and from the internal buffer position: so
+it gives you the position in the {\it real} stream counted from the start of
 the stream.
 
 \wxheading{Return value}
@@ -162,7 +162,7 @@ other case.
 
 Changes the current position.
 
-\it{mode} may be one of the following:
+{\it mode} may be one of the following:
 
 \twocolwidtha{5cm}
 \begin{twocollist}\itemsep=0pt
@@ -271,7 +271,7 @@ Returns the amount of bytes read during the last IO call to the parent stream.
 \func{void}{Fixed}{\param{bool}{ fixed}}
 
 Toggles the fixed flag. Usually this flag is toggled at the same time as 
-\it{flushable}. This flag allows (when it has the FALSE value) or forbids
+{\it flushable}. This flag allows (when it has the FALSE value) or forbids
 (when it has the TRUE value) the stream buffer to resize dynamically the IO buffer.
 
 \wxheading{See also}
@@ -282,7 +282,7 @@ Toggles the fixed flag. Usually this flag is toggled at the same time as
 
 \func{void}{Flushable}{\param{bool}{ flushable}}
 
-Toggles the flushable flag. If \it{flushable} is disabled, no datas are sent
+Toggles the flushable flag. If {\it flushable} is disabled, no datas are sent
 to the parent stream.
 
 \membersection{wxStreamBuffer::FlushBuffer}
index 1971458ed257cb934d481f086557e9be750fdae3..70adf1af3e0628be8b6b1dd3c1710928dafac305 100644 (file)
@@ -13,8 +13,8 @@ in one aspect, namely when to report that the end of the file has been
 reached. This is documented in \helpref{wxFile::Eof}{wxfileeof} and 
 \helpref{wxFFile::Eof}{wxffileeof} and the behaviour of the stream
 classes reflects this difference, i.e. wxFileInputStream will report
-wxSTREAM_EOF after having read the last byte whereas wxFFileInputStream
-will report wxSTREAM_EOF after trying to read {\it past} the last byte.
+wxSTREAM\_EOF after having read the last byte whereas wxFFileInputStream
+will report wxSTREAM\_EOF after trying to read {\it past} the last byte.
 
 \wxheading{Derived from}
 
@@ -37,11 +37,11 @@ will report wxSTREAM_EOF after trying to read {\it past} the last byte.
 
 \func{}{wxFileInputStream}{\param{const wxString\&}{ ifileName}}
 
-Opens the specified file using its \it{ifilename} name in read-only mode.
+Opens the specified file using its {\it ifilename} name in read-only mode.
 
 \func{}{wxFileInputStream}{\param{wxFile\&}{ file}}
 
-Initializes a file stream in read-only mode using the file I/O object \it{file}.
+Initializes a file stream in read-only mode using the file I/O object {\it file}.
 
 \func{}{wxFileInputStream}{\param{int}{ fd}}
 
@@ -74,8 +74,8 @@ in one aspect, namely when to report that the end of the file has been
 reached. This is documented in \helpref{wxFile::Eof}{wxfileeof} and 
 \helpref{wxFFile::Eof}{wxffileeof} and the behaviour of the stream
 classes reflects this difference, i.e. wxFileInputStream will report
-wxSTREAM_EOF after having read the last byte whereas wxFFileInputStream
-will report wxSTREAM_EOF after trying to read {\it past} the last byte.
+wxSTREAM\_EOF after having read the last byte whereas wxFFileInputStream
+will report wxSTREAM\_EOF after trying to read {\it past} the last byte.
 
 \wxheading{Derived from}
 
@@ -98,16 +98,16 @@ will report wxSTREAM_EOF after trying to read {\it past} the last byte.
 
 \func{}{wxFileOutputStream}{\param{const wxString\&}{ ofileName}}
 
-Creates a new file with \it{ofilename} name and initializes the stream in
+Creates a new file with {\it ofilename} name and initializes the stream in
 write-only mode. 
 
 \func{}{wxFileOutputStream}{\param{wxFile\&}{ file}}
 
-Initializes a file stream in write-only mode using the file I/O object \it{file}.
+Initializes a file stream in write-only mode using the file I/O object {\it file}.
 
 \func{}{wxFileOutputStream}{\param{int}{ fd}}
 
-Initializes a file stream in write-only mode using the file descriptor \it{fd}.
+Initializes a file stream in write-only mode using the file descriptor {\it fd}.
 
 \membersection{wxFileOutputStream::\destruct{wxFileOutputStream}}
 
@@ -145,7 +145,7 @@ Returns TRUE if the stream is initialized and ready.
 \func{}{wxFileStream}{\param{const wxString\&}{ iofileName}}
 
 Initializes a new file stream in read-write mode using the specified 
-\it{iofilename} name.
+{\it iofilename} name.
 
 
 % -----------------------------------------------------------------------------
@@ -163,8 +163,8 @@ in one aspect, namely when to report that the end of the file has been
 reached. This is documented in \helpref{wxFile::Eof}{wxfileeof} and 
 \helpref{wxFFile::Eof}{wxffileeof} and the behaviour of the stream
 classes reflects this difference, i.e. wxFileInputStream will report
-wxSTREAM_EOF after having read the last byte whereas wxFFileInputStream
-will report wxSTREAM_EOF after trying to read {\it past} the last byte.
+wxSTREAM\_EOF after having read the last byte whereas wxFFileInputStream
+will report wxSTREAM\_EOF after trying to read {\it past} the last byte.
 
 \wxheading{Derived from}
 
@@ -224,8 +224,8 @@ in one aspect, namely when to report that the end of the file has been
 reached. This is documented in \helpref{wxFile::Eof}{wxfileeof} and 
 \helpref{wxFFile::Eof}{wxffileeof} and the behaviour of the stream
 classes reflects this difference, i.e. wxFileInputStream will report
-wxSTREAM_EOF after having read the last byte whereas wxFFileInputStream
-will report wxSTREAM_EOF after trying to read {\it past} the last byte.
+wxSTREAM\_EOF after having read the last byte whereas wxFFileInputStream
+will report wxSTREAM\_EOF after trying to read {\it past} the last byte.
 
 \wxheading{Derived from}
 
@@ -248,7 +248,7 @@ will report wxSTREAM_EOF after trying to read {\it past} the last byte.
 
 \func{}{wxFFileOutputStream}{\param{const wxString\&}{ ofileName}}
 
-Creates a new file with \it{ofilename} name and initializes the stream in
+Creates a new file with {\it ofilename} name and initializes the stream in
 write-only mode. 
 
 \func{}{wxFFileOutputStream}{\param{wxFFile\&}{ file}}
@@ -295,6 +295,6 @@ Returns TRUE if the stream is initialized and ready.
 \func{}{wxFFileStream}{\param{const wxString\&}{ iofileName}}
 
 Initializes a new file stream in read-write mode using the specified 
-\it{iofilename} name.
+{\it iofilename} name.
 
 
index 6310696d91cd10b65499b74fa20214a6f71f2219..920ad7b36e3b181bd62181e33374f0fddbcfaee0 100644 (file)
@@ -60,7 +60,7 @@ Destructor.
 
 \func{}{wxMemoryOutputStream}{\param{char *}{ data = NULL}, \param{size\_t}{ length = 0}}
 
-If \it{data} is NULL, then it will initialize a new empty buffer which will
+If {\it data} is NULL, then it will initialize a new empty buffer which will
 grow if required.
 
 \wxheading{Warning}
@@ -79,7 +79,7 @@ Destructor.
 \constfunc{size\_t}{CopyTo}{\param{char *}{buffer}, \param{size\_t }{len}}
 
 CopyTo allowed you to transfer data from the internal buffer of
-wxMemoryOutputStream to an external buffer. \it{len} specifies the size of
+wxMemoryOutputStream to an external buffer. {\it len} specifies the size of
 the buffer.
 
 \wxheading{Returned value}
index 7dd47bd461a0080108c23afeffc4d2f806bea37f..856b8df22045c166e04b26d2d509372b7bd68bdd 100644 (file)
@@ -69,7 +69,7 @@ wxBitmap bmp(wxBITMAP(bmpname));
 
 You should always use wxICON and wxBITMAP macros because they work for any
 platform (unlike the code above which doesn't deal with wxMac, wxBe, ...) and
-are more short and clear than versions with {\tt #ifdef}s.
+are more short and clear than versions with {\tt \#ifdef}s.
 
 \subsection{Supported bitmap file formats}\label{supportedbitmapformats}
 
index de86933c68e6fe38c8d320886b04657043c43ab4..7db8f6c4eee89a5c685c8e8cd4b296da3fd4893d 100644 (file)
@@ -92,7 +92,7 @@ works.
 wxWindows has the notion of a {\it log target}: it's just a class deriving
 from \helpref{wxLog}{wxlog}. As such, it implements the virtual functions of
 the base class which are called when a message is logged. Only one log target
-is {\it active} at any moment, this is the one used by \it{wxLogXXX()}
+is {\it active} at any moment, this is the one used by {\it wxLogXXX()}
 functions. The normal usage of a log object (i.e. object of a class derived
 from wxLog) is to install it as the active target with a call to {\it
 SetActiveTarget()} and it will be used automatically by all subsequent calls
index 97e8e580a86ddb7293e16be8a678ed11afae4e1a..d30db16080466924c4111423cee228b5a96c3d20 100644 (file)
@@ -450,7 +450,7 @@ You must call \helpref{Realize}{wxtoolbarrealize} for the change to take place.
 \membersection{wxToolBar::InsertTool}\label{wxtoolbarinserttool}
 
 \func{wxToolBarTool *}{InsertTool}{\param{size\_t }{pos},\rtfsp
-{\param{int}{ toolId}, \param{const wxBitmap\&}{ bitmap1},\rtfsp
+\param{int}{ toolId}, \param{const wxBitmap\&}{ bitmap1},\rtfsp
 \param{const wxBitmap\&}{ bitmap2 = wxNullBitmap}, \param{bool}{ isToggle = FALSE},\rtfsp
 \param{wxObject* }{clientData = NULL}, \param{const wxString\& }{shortHelpString = ""}, \param{const wxString\& }{longHelpString = ""}}
 
index c1acd82341846ce8487bf96a433b8d1dcf118ee5..4338aa64cac7d058543ef155cb84ec7e1072e35c 100644 (file)
@@ -72,7 +72,7 @@ The key code if the event was is a key event.
 
 \membersection{wxTreeEvent::GetLabel}
 
-\constfunc{const wxString&}{GetLabel}{}
+\constfunc{const wxString\&}{GetLabel}{}
 
 Returns the label if the event was a begin or end edit label event.
 
index 8527dc3dc196a38a990b0011f2e17dbd251b720e..2f4f472597593f414ac3989e55973182b6f0637c 100644 (file)
@@ -90,7 +90,7 @@ in both ANSI and Unicode modes could look like:
 \end{verbatim}
 
 Of course, it would be nearly impossibly to write such programs if it had to
-be done this way (try to imagine the number of {\tt #ifdef UNICODE} an average
+be done this way (try to imagine the number of {\tt \#ifdef UNICODE} an average
 program would have had!). Luckily, there is another way - see the next
 section.
 
@@ -104,7 +104,7 @@ In wxWindows, the code fragment froim above should be written instead:
     int len = s.Len();
 \end{verbatim}
 
-What happens here? First of all, you see that there are no more {\tt #ifdef}s
+What happens here? First of all, you see that there are no more {\tt \#ifdef}s
 at all. Instead, we define some types and macros which behave differently in
 the Unicode and ANSI builds and allows us to avoid using conditional
 compilation in the program itself.
index 0783a8f76bb4ef88db93f5fa2e2e87560b9ee93b..06a37e88bc3e77cde17a52cb59d33442834a9ed7 100644 (file)
@@ -4,7 +4,7 @@
 \section{\class{wxTextInputStream}}\label{wxtextinputstream}
 
 This class provides functions that read text datas using an input stream.
-So, you can read \it{text} floats, integers.
+So, you can read {\it text} floats, integers.
 
 The wxTextInputStream correctly reads text files (or streams) in DOS, Macintosh
 and Unix formats and reports a single newline char as a line ending.
@@ -108,7 +108,7 @@ and Unix in their native formats (concerning the line ending).
 
 \membersection{wxTextOutputStream::wxTextOutputStream}\label{wxtextoutputstreamconstr}
 
-\func{}{wxTextOutputStream}{\param{wxOutputStream\&}{ stream}, \param{wxEOL}{ mode = wxEOL_NATIVE}}
+\func{}{wxTextOutputStream}{\param{wxOutputStream\&}{ stream}, \param{wxEOL}{ mode = wxEOL\_NATIVE}}
 
 Constructs a text stream object from an output stream. Only write methods will
 be available.
@@ -117,7 +117,7 @@ be available.
 
 \docparam{stream}{The output stream.}
 
-\docparam{mode}{The end-of-line mode. One of {\bf wxEOL_NATIVE}, {\bf wxEOL_DOS}, {\bf wxEOL_MAC} or {\bf wxEOL_UNIX}.}
+\docparam{mode}{The end-of-line mode. One of {\bf wxEOL\_NATIVE}, {\bf wxEOL\_DOS}, {\bf wxEOL\_MAC} or {\bf wxEOL\_UNIX}.}
 
 \membersection{wxTextOutputStream::\destruct{wxTextOutputStream}}
 
@@ -129,13 +129,13 @@ Destroys the wxTextOutputStream object.
 
 \func{wxEOL}{wxTextOutputStream::GetMode}{\void}
 
-Returns the end-of-line mode. One of {\bf wxEOL_DOS}, {\bf wxEOL_MAC} or {\bf wxEOL_UNIX}.
+Returns the end-of-line mode. One of {\bf wxEOL\_DOS}, {\bf wxEOL\_MAC} or {\bf wxEOL\_UNIX}.
 
 \membersection{wxTextOutputStream::SetMode}
 
-\func{void}{wxTextOutputStream::SetMode}{{\param wxEOL}{ mode = wxEOL_NATIVE}}
+\func{void}{wxTextOutputStream::SetMode}{{\param wxEOL}{ mode = wxEOL\_NATIVE}}
 
-Set the end-of-line mode. One of {\bf wxEOL_NATIVE}, {\bf wxEOL_DOS}, {\bf wxEOL_MAC} or {\bf wxEOL_UNIX}.
+Set the end-of-line mode. One of {\bf wxEOL\_NATIVE}, {\bf wxEOL\_DOS}, {\bf wxEOL\_MAC} or {\bf wxEOL\_UNIX}.
 
 \membersection{wxTextOutputStream::Write8}
 
index 2cfb54137d3fed2744cf7ab8c7a3c0340515756f..90f07698a304a6dc8295467fe7e527fa37fa4abe 100644 (file)
@@ -805,11 +805,11 @@ Returns TRUE if the window is enabled for input, FALSE otherwise.
 
 \constfunc{bool}{IsExposed}{\param{int }{x}, \param{int }{y}}
 
-\constfunc{bool}{IsExposed}{\param{wxPoint }{&pt}}
+\constfunc{bool}{IsExposed}{\param{wxPoint }{\&pt}}
 
 \constfunc{bool}{IsExposed}{\param{int }{x}, \param{int }{y}, \param{int }{w}, \param{int }{h}}
 
-\constfunc{bool}{IsExposed}{\param{wxRect }{&rect}}
+\constfunc{bool}{IsExposed}{\param{wxRect }{\&rect}}
 
 Returns TRUE if the given point or rectange area has been exposed since the
 last repaint. Call this in an paint event handler to optimize redrawing by
@@ -1379,7 +1379,7 @@ For example:
 
 \small{%
 \begin{verbatim}
-  void MyWindow::OnPaint(wxPaintEvent& event)
+  void MyWindow::OnPaint(wxPaintEvent\& event)
   {
       wxPaintDC dc(this);
 
@@ -1399,7 +1399,7 @@ Here is an example of using the \helpref{wxRegionIterator}{wxregioniterator} cla
 {\small%
 \begin{verbatim}
 // Called when window needs to be repainted.
-void MyWindow::OnPaint(wxPaintEvent& event)
+void MyWindow::OnPaint(wxPaintEvent\& event)
 {
   wxPaintDC dc(this);
 
@@ -1539,7 +1539,7 @@ default value is FALSE.}
 
 \membersection{wxWindow::PopupMenu}\label{wxwindowpopupmenu}
 
-\func{bool}{PopupMenu}{\param{wxMenu* }{menu}, \param{const wxPoint& }{pos}}
+\func{bool}{PopupMenu}{\param{wxMenu* }{menu}, \param{const wxPoint\& }{pos}}
 
 \func{bool}{PopupMenu}{\param{wxMenu* }{menu}, \param{int }{x}, \param{int }{y}}
 
@@ -1736,7 +1736,7 @@ from within wxWindow::OnSize functions.}
 Note that this function is actually disabled for wxWindow. It has
 effect for wxDialog, wxFrame, wxPanel and wxScrolledWindow.  Windows
 of other types that need to invoke the Layout algorithm should provide
-an EVT_SIZE handler and call
+an EVT\_SIZE handler and call
 \helpref{wxWindow::Layout}{wxwindowlayout} from within it.
 
 \wxheading{See also}
@@ -2176,7 +2176,7 @@ by wxWindows, or that the current value of the dimension should be used.
 \pythonnote{In place of a single overloaded method name, wxPython
 implements the following methods:\par
 \indented{2cm}{\begin{twocollist}
-\twocolitem{\bf{SetDimensions(x, y, width, height, sizeFlags=wxSIZE_AUTO)}}{}
+\twocolitem{\bf{SetDimensions(x, y, width, height, sizeFlags=wxSIZE\_AUTO)}}{}
 \twocolitem{\bf{SetSize(size)}}{}
 \twocolitem{\bf{SetPosition(point)}}{}
 \end{twocollist}}
index 7a5a8b230f1b002c40cc43affc745346bc3f0541..e54567cc232317acc827643553f311b1e6ffc427 100644 (file)
@@ -1,5 +1,5 @@
 \chapter{wxPython Notes}\label{wxPython}
-\pagenumbering{arabic}%
+
 \setheader{{\it CHAPTER \thechapter}}{}{}{}{}{{\it CHAPTER \thechapter}}%
 \setfooter{\thepage}{}{}{}{}{\thepage}%
 
@@ -204,7 +204,7 @@ Python and wxPython are properly installed, you should be able to run
 it by issuing this command:
 
 \begin{indented}{1cm}
-    \bftt{python DialogUnits.py}
+    {\bf\tt python DialogUnits.py}
 \end{indented}
 
 \hrule
index 97cc83c3ae0fd52402f39332c3250075753892b2..8ba25e26010e9a8976011ec84ee331e2ab04d7b9 100644 (file)
@@ -1,5 +1,5 @@
 \chapter{wxHTML Notes}\label{wxHTML}
-\pagenumbering{arabic}%
+
 \setheader{{\it CHAPTER \thechapter}}{}{}{}{}{{\it CHAPTER \thechapter}}%
 \setfooter{\thepage}{}{}{}{}{\thepage}%