X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1c507b171af7fb2e0ed36fca546b7951c8ab5dd2..2fc2d511d0f095ab5de3713cff6042832f886d15:/docs/tech/tn0003.txt diff --git a/docs/tech/tn0003.txt b/docs/tech/tn0003.txt index a1fa46e997..bec2e461ab 100644 --- a/docs/tech/tn0003.txt +++ b/docs/tech/tn0003.txt @@ -88,12 +88,12 @@ DO: format and running through the Windows help compiler to check for missing labels, etc. -- quote all '_' characters with a '\' character (e.g. "MY\_PROGRAM" +- quote all '_' and '&' characters with a '\' character (e.g. "MY\_PROGRAM" unless the '_' is inside a comment or a \begin{verbatim} ... \end{verbatim} block - check that your changes/additions to any TEX documentation - compiles before checking it in! Use the '-checkcurleybrace' + compiles before checking it in! Use the '-checkcurleybraces' and '-checksyntax' commandline parameters (or the OPTIONS menu if running in GUI mode) to check for some of the more common mistakes. See TROUBLESHOOTING below for more details @@ -219,7 +219,7 @@ Creates a fresh bitmap. If the final argument is omitted, the display depth of the screen is used. \func{virtual bool}{Create}{\param{void*}{ data}, \param{int}{ type}, - \param{int}{ width}, \param{int}{ height}, \param{int}{ depth = -1}} + \param{int}{ width}, \param{int}{ height}, \param{int}{ depth = $-1$}} Creates a bitmap from the given data, which can be of arbitrary type. @@ -238,7 +238,7 @@ of possible values.} \wxheading{Return value} -TRUE if the call succeeded, FALSE otherwise. +\true if the call succeeded, \false otherwise. \wxheading{Remarks} @@ -270,3 +270,7 @@ Special forms: - use \destruct macro for the destructors \func{}{\destruct{MyClass}}{\void} +- use \true and \false instead of true/TRUE/{\tt true}/... + +- use \arg{paramname} to refer to the argument inside of the function + description