X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fa482912e420a40e9f2e55a0f5407562826dd15e..a9249b2eb2a40d8c71f828669045c4ddaa8dc5ff:/docs/latex/wx/body.tex?ds=sidebyside diff --git a/docs/latex/wx/body.tex b/docs/latex/wx/body.tex index e19128f347..d511845a0c 100644 --- a/docs/latex/wx/body.tex +++ b/docs/latex/wx/body.tex @@ -86,7 +86,7 @@ in Windows Help, HTML and Word RTF formats. \item Simple-to-use, object-oriented API. \item Flexible event system. \item Graphics calls include lines, rounded rectangles, splines, polylines, etc. -\item Constraint-based and sizer-based layouting. +\item Constraint-based and sizer-based layouts. \item Print/preview and document/view architectures. \item Toolbar, notebook, tree control, advanced list control classes. \item PostScript generation under Unix, normal MS Windows printing on the PC. @@ -99,7 +99,7 @@ them to the clipboard. \item Ready-to-use HTML window (supporting a subset of HTML). \item Dialog Editor for building dialogs. \item Network support via a family of socket and protocol classes. -\item Support for platform independent image procesing. +\item Support for platform independent image processing. \item Built-in support for many file formats (BMP, PNG, JPEG, GIF, XPM, PNM, PCX). \end{itemize} @@ -123,7 +123,7 @@ Additions and changes: \begin{itemize}\itemsep=0pt \item class hierarchy changed, and restrictions about subwindow nesting lifted; -\item header files reorganised to conform to normal C++ standards; +\item header files reorganized to conform to normal C++ standards; \item classes less dependent on each another, to reduce executable size; \item wxString used instead of char* wherever possible; \item the number of separate but mandatory utilities reduced; @@ -190,7 +190,7 @@ Additions and changes: \item Many optical improvements to GTK port. \item Support for menu accelerators in GTK port. \item Enhanced and improved support for scrolling, including child windows. -\item Complete rewrite of clipboard and drag'n'drop classes. +\item Complete rewrite of clipboard and drag and drop classes. \item Improved support for ODBC databases. \item Improved tab traversal in dialogs. \end{itemize} @@ -198,10 +198,9 @@ Additions and changes: \section{wxWindows requirements}\label{requirements} -To make use of wxWindows, you currently need one or both of the -following setups. +To make use of wxWindows, you currently need one of the following setups. -(a) PC: +(a) MS-Windows: \begin{enumerate}\itemsep=0pt \item A 486 or higher PC running MS Windows. @@ -219,6 +218,15 @@ Metrowerks CodeWarrior. \item At least 60 MB of disk space. \end{enumerate} +(c) Mac OS/Mac OS X: + +\begin{enumerate}\itemsep=0pt +\item A PowerPC Mac running Mac OS 8.6/9.x (eg. Classic) or Mac OS X 10.x. +\item CodeWarrior 5.3, 6 or 7 for Classic Mac OS. +\item The Apple Developer Tools (eg. GNU C++) or CodeWarrior 7 for Mac OS X. +\item At least 60 MB of disk space. +\end{enumerate} + \section{Availability and location of wxWindows} \winhelponly{wxWindows is available by anonymous FTP and World Wide Web @@ -234,7 +242,7 @@ Julian Smart\\ Uppingham\\ Rutland\\ LE15 9SG\\ -julian.smart@ukonline.co.uk +julian.smart@btopenworld.com \section{Acknowledgments} @@ -449,7 +457,7 @@ fine on some platforms, and then fail under Windows. \section{Architecture dependency} A problem which sometimes arises from writing multi-platform programs is that -the basic C types are not defiend the same on all platforms. This holds true +the basic C types are not defined the same on all platforms. This holds true for both the length in bits of the standard types (such as int and long) as well as their byte order, which might be little endian (typically on Intel computers) or big endian (typically on some Unix workstations). wxWindows @@ -492,7 +500,7 @@ its own run-time type information system, implemented using macros. Some compilers (e.g. the native IRIX cc) define NULL to be 0L so that no conversion to pointers is allowed. Because of that, all these -occurences of NULL in the GTK port use an explicit conversion such +occurrences of NULL in the GTK port use an explicit conversion such as {\small @@ -527,7 +535,7 @@ X and Windows parts of the library) conditional compilation that under Unix, includes a minimal set of headers; and when using Visual C++, includes {\tt wx.h}. This should help provide the optimal compilation for each compiler, although it is -biassed towards the precompiled headers facility available +biased towards the precompiled headers facility available in Microsoft C++. \section{File handling} @@ -577,7 +585,7 @@ more easily accessed via the Contributions page on the Web site. wxHelp is a stand-alone program, written using wxWindows, for displaying hypertext help. It is necessary since not all target systems (notably X) supply an adequate -standard for on-line help. wxHelp is modelled on the MS Windows help +standard for on-line help. wxHelp is modeled on the MS Windows help system, with contents, search and browse buttons, but does not reformat text to suit the size of window, as WinHelp does, and its input files are uncompressed ASCII with some embedded font commands and an .xlp @@ -690,9 +698,9 @@ it can alert you to problems later on. \subsection{Use wxString in preference to character arrays} Using wxString can be much safer and more convenient than using char *. -Again, I haven't practised what I'm preaching, but I'm now trying to use +Again, I haven't practiced what I'm preaching, but I'm now trying to use wxString wherever possible. You can reduce the possibility of memory -leaks substantially, and it's much more convenient to use the overloaded +leaks substantially, and it is much more convenient to use the overloaded operators than functions such as strcmp. wxString won't add a significant overhead to your program; the overhead is compensated for by easier manipulation (which means less code). @@ -721,7 +729,7 @@ kinds of bitmap depending on platform (see the section on resource files). \subsection{Positive thinking} -It's common to blow up the problem in one's imagination, so that it seems to threaten +It is common to blow up the problem in one's imagination, so that it seems to threaten weeks, months or even years of work. The problem you face may seem insurmountable: but almost never is. Once you have been programming for some time, you will be able to remember similar incidents that threw you into the depths of despair. But @@ -748,8 +756,8 @@ deallocation, this can still give totally spurious results! \subsection{Use a debugger} -This sounds like facetious advice, but it's surprising how often people -don't use a debugger. Often it's an overhead to install or learn how to +This sounds like facetious advice, but it is surprising how often people +don't use a debugger. Often it is an overhead to install or learn how to use a debugger, but it really is essential for anything but the most trivial programs. @@ -778,13 +786,13 @@ See the \helpref{debugging overview}{debuggingoverview} for further information. \subsection{Check Windows debug messages} -Under Windows, it's worth running your program with +Under Windows, it is worth running your program with \urlref{DbgView}{http://www.sysinternals.com} running or -some other program that shows Windows-generated debug messages. It's -possible it'll show invalid handles being used. You may have fun seeing +some other program that shows Windows-generated debug messages. It is +possible it will show invalid handles being used. You may have fun seeing what commercial programs cause these normally hidden errors! Microsoft recommend using the debugging version of Windows, which shows up even -more problems. However, I doubt it's worth the hassle for most +more problems. However, I doubt it is worth the hassle for most applications. wxWindows is designed to minimize the possibility of such errors, but they can still happen occasionally, slipping through unnoticed because they are not severe enough to cause a crash.