]> git.saurik.com Git - wxWidgets.git/blob - docs/latex/wx/manual.tex
wxMenu::callback stuff taken inside WXWIN_COMPATIBILITY_2 (everybody should
[wxWidgets.git] / docs / latex / wx / manual.tex
1 \documentstyle[a4,11pt,makeidx,verbatim,texhelp,fancyheadings,palatino]{report}
2 % JACS: doesn't make it through Tex2RTF, sorry. I'll put it into texhelp.sty
3 % since Tex2RTF doesn't parse it.
4 % BTW, style MUST be report for it to work for Tex2RTF.
5 %KB:
6 %\addtolength{\textwidth}{1in}
7 %\addtolength{\oddsidemargin}{-0.5in}
8 %\addtolength{\topmargin}{-0.5in}
9 %\addtolength{\textheight}{1in}
10 %\sloppy
11 %end of my changes
12 \newcommand{\indexit}[1]{#1\index{#1}}%
13 \newcommand{\pipe}[0]{$\|$\ }%
14 \definecolour{black}{0}{0}{0}%
15 \definecolour{cyan}{0}{255}{255}%
16 \definecolour{green}{0}{255}{0}%
17 \definecolour{magenta}{255}{0}{255}%
18 \definecolour{red}{255}{0}{0}%
19 \definecolour{blue}{0}{0}{200}%
20 \definecolour{yellow}{255}{255}{0}%
21 \definecolour{white}{255}{255}{255}%
22 %
23 \input psbox.tex
24 % Remove this for processing with dvi2ps instead of dvips
25 %\special{!/@scaleunit 1 def}
26 \parskip=10pt
27 \parindent=0pt
28 \title{wxWindows 2.1: A portable C++ and Python GUI toolkit}
29 \winhelponly{\author{by Julian Smart et al
30 %\winhelponly{\\$$\image{1cm;0cm}{wxwin.wmf}$$}
31 }}
32 \winhelpignore{\author{Julian Smart, Robert Roebling, Vadim Zeitlin,
33 Robin Dunn, et al}
34 \date{November 8th 1999}
35 }
36 \makeindex
37 \begin{document}
38 \maketitle
39 \pagestyle{fancyplain}
40 \bibliographystyle{plain}
41 \setheader{{\it CONTENTS}}{}{}{}{}{{\it CONTENTS}}
42 \setfooter{\thepage}{}{}{}{}{\thepage}%
43 \pagenumbering{roman}
44 \tableofcontents
45
46 % A special table of contents for the WinHelp manual
47 \begin{comment}
48 \winhelponly{
49 \chapter*{wxWindows class library reference}\label{winhelpcontents}
50
51 \center{
52 %\image{}{wxwin.wmf}
53 }%
54
55 \sethotspotcolour{off}%
56 \sethotspotunderline{on}%
57 \large{
58 \image{}{cpp.bmp} \helpref{Alphabetical class reference}{classref}
59
60 \image{}{shelves.bmp} \helpref{Classes by category}{classesbycat}
61
62 \image{}{book1.bmp} \helpref{Topic overviews}{overviews}
63
64 \image{}{hand1.bmp} \helpref{Guide to wxWindows}{wxwinchapters}
65 }
66 \sethotspotcolour{on}%
67 \sethotspotunderline{on}%
68
69 \chapter*{Overview of wxWindows}\label{wxwinchapters}
70
71 \helpref{Introduction}{introduction}\\
72 %\helpref{Resource guide}{resguide}\\
73 %\helpref{Comparison with other GUI models}{comparison}\\
74 %\helpref{Multi-platform development with wxWindows}{multiplat}\\
75 %\helpref{Tutorial}{tutorial}\\
76 \helpref{The wxWindows resource system}{resourceformats}\\
77 \helpref{Utilities}{utilities}\\
78 \helpref{Programming strategies}{strategies}\\
79 \helpref{Bugs and future directions}{bugs}\\
80 \helpref{References}{bibliography}
81 }
82 \end{comment}
83
84 \chapter*{Copyright notice}
85 \setheader{{\it COPYRIGHT}}{}{}{}{}{{\it COPYRIGHT}}%
86 \setfooter{\thepage}{}{}{}{}{\thepage}%
87
88 \begin{center}
89 (c) 1999 Julian Smart, Robert Roebling, Vadim Zeitlin and other
90 members of the wxWindows team\\
91 Portions (c) 1996 Artificial Intelligence Applications Institute\\
92 \end{center}
93
94 Please see the wxWindows licence files (preamble.txt, lgpl.txt, gpl.txt, licence.txt,
95 licendoc.txt) for conditions of software and documentation use.
96
97 \input{body.tex}
98 \helpinput{classes.tex}
99 \helpinput{category.tex}
100 \helpinput{topics.tex}
101 \helpinput{wxhtml.tex}
102 \helpinput{wxPython.tex}
103
104 \begin{comment}
105 \newpage
106
107 % Puts books in the bibliography without needing to cite them in the
108 % text
109 \nocite{helpbook}%
110 \nocite{wong93}%
111 \nocite{pree94}%
112 \nocite{gamma95}%
113 \nocite{smart95a}%
114 \nocite{smart95b}%
115
116 \bibliography{refs}
117 \addcontentsline{toc}{chapter}{Bibliography}
118 \setheader{{\it REFERENCES}}{}{}{}{}{{\it REFERENCES}}%
119 \setfooter{\thepage}{}{}{}{}{\thepage}%
120 \end{comment}
121
122 \newpage
123 % Note: In RTF, the \printindex must come before the
124 % change of header/footer, since the \printindex inserts
125 % the RTF \sect command which divides one chapter from
126 % the next.
127 \rtfonly{\printindex
128 \addcontentsline{toc}{chapter}{Index}
129 \setheader{{\it INDEX}}{}{}{}{}{{\it INDEX}}%
130 \setfooter{\thepage}{}{}{}{}{\thepage}
131 }
132 % In Latex, it must be this way around (I think)
133 \latexonly{\addcontentsline{toc}{chapter}{Index}
134 \setheader{{\it INDEX}}{}{}{}{}{{\it INDEX}}%
135 \setfooter{\thepage}{}{}{}{}{\thepage}
136 \printindex
137 }
138
139 \end{document}