From: Vadim Zeitlin Date: Sun, 28 May 2006 23:56:51 +0000 (+0000) Subject: spelling fixes (patch 1495562) X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/154b6b0f0eda0007d7ffbbfacff7e57c5861c28b spelling fixes (patch 1495562) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39409 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/docs/latex/wx/calctrl.tex b/docs/latex/wx/calctrl.tex index 12434a8657..abf17fa45a 100644 --- a/docs/latex/wx/calctrl.tex +++ b/docs/latex/wx/calctrl.tex @@ -394,35 +394,35 @@ Display the date with this attribute as a holiday. \constfunc{bool}{HasTextColour}{\void} -Returns {\tt true} if this item has a non default text foreground colour. +Returns {\tt true} if this item has a non-default text foreground colour. \membersection{wxCalendarDateAttr::HasBackgroundColour}\label{wxcalendardateattrhasbackgroundcolour} \constfunc{bool}{HasBackgroundColour}{\void} -Returns {\tt true} if this attribute specifies a non default text background colour. +Returns {\tt true} if this attribute specifies a non-default text background colour. \membersection{wxCalendarDateAttr::HasBorderColour}\label{wxcalendardateattrhasbordercolour} \constfunc{bool}{HasBorderColour}{\void} -Returns {\tt true} if this attribute specifies a non default border colour. +Returns {\tt true} if this attribute specifies a non-default border colour. \membersection{wxCalendarDateAttr::HasFont}\label{wxcalendardateattrhasfont} \constfunc{bool}{HasFont}{\void} -Returns {\tt true} if this attribute specifies a non default font. +Returns {\tt true} if this attribute specifies a non-default font. \membersection{wxCalendarDateAttr::HasBorder}\label{wxcalendardateattrhasborder} \constfunc{bool}{HasBorder}{\void} -Returns {\tt true} if this attribute specifies a non default (i.e. any) border. +Returns {\tt true} if this attribute specifies a non-default (i.e. any) border. \membersection{wxCalendarDateAttr::IsHoliday}\label{wxcalendardateattrisholiday} diff --git a/docs/latex/wx/cppconst.tex b/docs/latex/wx/cppconst.tex index c573457828..1a70ebe593 100644 --- a/docs/latex/wx/cppconst.tex +++ b/docs/latex/wx/cppconst.tex @@ -181,6 +181,6 @@ monolithic wxWidgets library, defined as $0$ when building GUI library only)} exceptions has been switched off} \twocolitem{wxNO\_THREADS}{if this macro is defined, the compilation options don't include compiler flags needed for multithreaded code generation. This -implies that wxUSE\_THREADS is $0$ and also that other (non wx-based) threading +implies that wxUSE\_THREADS is $0$ and also that other (non-wx-based) threading packages cannot be used neither.} \end{twocollist} diff --git a/docs/latex/wx/ctrlsub.tex b/docs/latex/wx/ctrlsub.tex index 517e3f5830..d6f9040e6e 100644 --- a/docs/latex/wx/ctrlsub.tex +++ b/docs/latex/wx/ctrlsub.tex @@ -20,7 +20,7 @@ It defines the methods for accessing the controls items and although each of the derived classes implements them differently, they still all conform to the same interface. -The items in a wxControlWithItems have (non empty) string labels and, +The items in a wxControlWithItems have (non-empty) string labels and, optionally, client data associated with them. Client data may be of two different kinds: either simple untyped ({\tt void *}) pointers which are simply stored by the control but not used in any way by it, or typed pointers diff --git a/docs/latex/wx/datespan.tex b/docs/latex/wx/datespan.tex index 96ea5dd6a2..6c2e051036 100644 --- a/docs/latex/wx/datespan.tex +++ b/docs/latex/wx/datespan.tex @@ -19,7 +19,7 @@ one month to Feb, 15 -- we want to get Mar, 15, of course). When adding a month to the date, all lesser components (days, hours, ...) won't be changed unless the resulting date would be invalid: for example, -Jan 31 + 1 month will be Feb 28, not (non existing) Feb 31. +Jan 31 + 1 month will be Feb 28, not (non-existing) Feb 31. Because of this feature, adding and subtracting back again the same wxDateSpan will {\bf not}, in general give back the original date: Feb 28 - 1 diff --git a/docs/latex/wx/datetime.tex b/docs/latex/wx/datetime.tex index 8d85f76d82..5570afae07 100644 --- a/docs/latex/wx/datetime.tex +++ b/docs/latex/wx/datetime.tex @@ -945,7 +945,7 @@ the year is, according to international standards, the one containing Jan 4 or, equivalently, the first week which has Thursday in this year. Both of these definitions are the same as saying that the first week of the year must contain more than half of its days in this year. Accordingly, the week number will -always be in $1\ldots53$ range ($52$ for non leap years). +always be in $1\ldots53$ range ($52$ for non-leap years). The function depends on the \helpref{week start}{wxdatetime} convention specified by the {\it flags} argument but its results for diff --git a/docs/latex/wx/db.tex b/docs/latex/wx/db.tex index 1056eeabbb..88cd6ca6e3 100644 --- a/docs/latex/wx/db.tex +++ b/docs/latex/wx/db.tex @@ -2457,7 +2457,7 @@ this function. \param{UWORD }{numIndexColumns}, \param{wxDbIdxDef *}{pIndexDefs}, \param{bool }{attemptDrop=true}} -This member function allows you to create secondary (non primary) indexes on +This member function allows you to create secondary (non-primary) indexes on your tables. You first create your table, normally specifying a primary index, and then create any secondary indexes on the table. Indexes in relational model are not required. You do not need indexes to look up records diff --git a/docs/latex/wx/dir.tex b/docs/latex/wx/dir.tex index 8f0fade28c..ed5c9d44bf 100644 --- a/docs/latex/wx/dir.tex +++ b/docs/latex/wx/dir.tex @@ -12,8 +12,8 @@ \section{\class{wxDir}}\label{wxdir} wxDir is a portable equivalent of Unix {open/read/close}dir functions which -allow enumerating of the files in a directory. wxDir allows enumerate files as -well as directories. +allow enumerating of the files in a directory. wxDir allows to enumerate files +as well as directories. wxDir also provides a flexible way to enumerate files recursively using \helpref{Traverse}{wxdirtraverse} or a simpler @@ -136,8 +136,8 @@ trailing path separator (slash or backslash). \constfunc{bool}{GetNext}{\param{wxString* }{filename}} -Continue enumerating files satisfying the criteria specified by the last call -to \helpref{GetFirst}{wxdirgetfirst}. +Continue enumerating files which satisfy the criteria specified by the last +call to \helpref{GetFirst}{wxdirgetfirst}. \membersection{wxDir::HasFiles}\label{wxdirhasfiles} @@ -170,8 +170,8 @@ Returns true if the directory was successfully opened by a previous call to \func{bool}{Open}{\param{const wxString\& }{dir}} -Open the directory for enumerating, returns true on success or false if an -error occurred. +Open the directory for enumerating, returns {\tt true} on success +or {\tt false} if an error occurred. \membersection{wxDir::Traverse}\label{wxdirtraverse} diff --git a/docs/latex/wx/filetype.tex b/docs/latex/wx/filetype.tex index 80b7e85cc4..c90d97cfad 100644 --- a/docs/latex/wx/filetype.tex +++ b/docs/latex/wx/filetype.tex @@ -208,7 +208,7 @@ retrieved from \helpref{MessageParameters}{wxfiletypemessageparameters} class. This function is primarily intended for GetOpenCommand and GetPrintCommand usage but may be also used by the application directly if, for example, you want -to use some non default command to open the file. +to use some non-default command to open the file. The function replaces all occurrences of diff --git a/docs/latex/wx/flexsizr.tex b/docs/latex/wx/flexsizr.tex index 28b3c3c95f..bae914ad4d 100644 --- a/docs/latex/wx/flexsizr.tex +++ b/docs/latex/wx/flexsizr.tex @@ -21,7 +21,7 @@ Since wxWidgets 2.5.0, wxFlexGridSizer can also size items equally in one direction but unequally ("flexibly") in the other. If the sizer is only flexible in one direction (this can be changed using \helpref{SetFlexibleDirection}{wxflexgridsizersetflexibledirection}), -it needs to be decided how the sizer should grow in the other ("non flexible") +it needs to be decided how the sizer should grow in the other ("non-flexible") direction in order to fill the available space. The \helpref{SetNonFlexibleGrowMode}{wxflexgridsizersetnonflexiblegrowmode} method serves this purpose. @@ -102,7 +102,7 @@ One of the following values: \constfunc{int}{GetNonFlexibleGrowMode}{\void} -Returns the value that specifies how the sizer grows in the "non flexible" +Returns the value that specifies how the sizer grows in the "non-flexible" direction if there is one. \wxheading{Return value} @@ -110,14 +110,14 @@ direction if there is one. One of the following values: \begin{twocollist} -\twocolitem{wxFLEX\_GROWMODE\_NONE}{Sizer doesn't grow in the non flexible direction.} +\twocolitem{wxFLEX\_GROWMODE\_NONE}{Sizer doesn't grow in the non-flexible direction.} \twocolitem{wxFLEX\_GROWMODE\_SPECIFIED}{Sizer honors growable columns/rows set with \helpref{AddGrowableCol}{wxflexgridsizeraddgrowablecol} and \helpref{AddGrowableRow}{wxflexgridsizeraddgrowablerow}. In this case equal sizing applies to minimum sizes of columns or rows (this is the default value).} \twocolitem{wxFLEX\_GROWMODE\_ALL}{Sizer equally stretches all columns or rows -in the non flexible direction, whether they are growable or not in the flexible +in the non-flexible direction, whether they are growable or not in the flexible direction.} \end{twocollist} @@ -158,7 +158,7 @@ Note that this method does not trigger relayout. \func{void}{SetNonFlexibleGrowMode}{\param{wxFlexSizerGrowMode }{mode}} -Specifies how the sizer should grow in the non flexible direction if +Specifies how the sizer should grow in the non-flexible direction if there is one (so \helpref{SetFlexibleDirection()}{wxflexgridsizersetflexibledirection} must have been called previously). Argument {\it mode} can be one of those documented in diff --git a/docs/latex/wx/function.tex b/docs/latex/wx/function.tex index 4db79cb10f..e1ca4a5beb 100644 --- a/docs/latex/wx/function.tex +++ b/docs/latex/wx/function.tex @@ -751,7 +751,7 @@ See also \helpref{wxExecute}{wxexecute}, \helpref{Exec sample}{sampleexec}. This function shuts down or reboots the computer depending on the value of the {\it flags}. Please notice that doing this requires the corresponding access -rights (superuser under Unix, {\tt SE\_SHUTDOWN} privelege under Windows NT) +rights (superuser under Unix, {\tt SE\_SHUTDOWN} privilege under Windows NT) and that this function is only implemented under Unix and Win32. \wxheading{Parameters} @@ -1189,7 +1189,7 @@ with wildcard characters. See \helpref{wxIsWild}{wxiswild}. Makes the directory \arg{dir}, returning true if successful. {\it perm} is the access mask for the directory for the systems on which it is -supported (Unix) and doesn't have effect for the other ones. +supported (Unix) and doesn't have any effect on the other ones. \membersection{::wxParseCommonDialogsFilter}\label{wxparsecommondialogsfilter} @@ -3732,7 +3732,7 @@ Example: This macro is equivalent to {\tt wxDynamicCast(this, classname)} but the latter provokes spurious compilation warnings from some compilers (because it -tests whether {\tt this} pointer is non {\tt NULL} which is always true), so +tests whether {\tt this} pointer is non-{\tt NULL} which is always true), so this macro should be used to avoid them. \wxheading{See also} @@ -4466,7 +4466,7 @@ This check is done even in release mode. Checks that the condition is true, returns with the given return value if not (FAILs in debug mode). This check is done even in release mode. -This macro may be only used in non void functions, see also +This macro may be only used in non-void functions, see also \helpref{wxCHECK\_RET}{wxcheckret}. diff --git a/docs/latex/wx/hashmap.tex b/docs/latex/wx/hashmap.tex index 67427d640b..ebb9c60e6a 100644 --- a/docs/latex/wx/hashmap.tex +++ b/docs/latex/wx/hashmap.tex @@ -3,7 +3,7 @@ This is a simple, type-safe, and reasonably efficient hash map class, whose interface is a subset of the interface of STL containers. In particular, the interface is modeled after std::map, and the various, -non standard, std::hash\_map. +non-standard, std::hash\_map. \wxheading{Example} diff --git a/docs/latex/wx/hashset.tex b/docs/latex/wx/hashset.tex index 708fdd1084..56b59914ed 100644 --- a/docs/latex/wx/hashset.tex +++ b/docs/latex/wx/hashset.tex @@ -3,7 +3,7 @@ This is a simple, type-safe, and reasonably efficient hash set class, whose interface is a subset of the interface of STL containers. In particular, the interface is modeled after std::set, and the various, -non standard, std::hash\_map. +non-standard, std::hash\_map. \wxheading{Example} diff --git a/docs/latex/wx/http.tex b/docs/latex/wx/http.tex index 613012a809..f0cbf5d785 100644 --- a/docs/latex/wx/http.tex +++ b/docs/latex/wx/http.tex @@ -31,8 +31,8 @@ Returns the HTTP response code returned by the server. Please refer to Creates a new input stream on the specified path. You can use all except the seek functionality of wxStream. Seek isn't available on all streams. For example, -http or ftp streams doesn't deal with it. Other functions like Tell and SeekI -for this sort of stream. +HTTP or FTP streams don't deal with it. Other functions like Tell and SeekI +aren't available for the moment for this sort of stream. You will be notified when the EOF is reached by an error. \wxheading{Note} diff --git a/docs/latex/wx/htwindow.tex b/docs/latex/wx/htwindow.tex index 190551eee7..eddfc34f44 100644 --- a/docs/latex/wx/htwindow.tex +++ b/docs/latex/wx/htwindow.tex @@ -207,7 +207,7 @@ hypertext link. \wxheading{Parameters} \docparam{cell}{The cell inside which the mouse was clicked, always a simple -(i.e. non container) cell} +(i.e. non-container) cell} \docparam{x, y}{The logical coordinates of the click point} @@ -226,7 +226,7 @@ This method is called when a mouse moves over an HTML cell. \wxheading{Parameters} \docparam{cell}{The cell inside which the mouse is currently, always a simple -(i.e. non container) cell} +(i.e. non-container) cell} \docparam{x, y}{The logical coordinates of the click point} diff --git a/docs/latex/wx/keyevent.tex b/docs/latex/wx/keyevent.tex index 01a3ac89f2..eff2b8c547 100644 --- a/docs/latex/wx/keyevent.tex +++ b/docs/latex/wx/keyevent.tex @@ -28,7 +28,7 @@ as well. Although in this simple case it is clear that the correct key code could be found in the key down event handler by checking the value returned by \helpref{ShiftDown()}{wxkeyeventshiftdown}, in general you should use -{\tt EVT\_CHAR} for this as for non alphanumeric keys the translation is +{\tt EVT\_CHAR} for this as for non-alphanumeric keys the translation is keyboard-layout dependent and can only be done properly by the system itself. Another kind of translation is done when the control key is pressed: for diff --git a/docs/latex/wx/log.tex b/docs/latex/wx/log.tex index f96989dde2..bf881205c6 100644 --- a/docs/latex/wx/log.tex +++ b/docs/latex/wx/log.tex @@ -215,7 +215,7 @@ Returns the pointer to the active log target (may be NULL). \func{static wxLog *}{SetActiveTarget}{\param{wxLog * }{ logtarget}} Sets the specified log target as the active one. Returns the pointer to the -previous active log target (may be NULL). To supress logging use a new +previous active log target (may be NULL). To suppress logging use a new instance of wxLogNull not NULL. If the active log target is set to NULL a new default log target will be created when logging occurs. diff --git a/docs/latex/wx/notebook.tex b/docs/latex/wx/notebook.tex index 75853fa697..82e7e3f24e 100644 --- a/docs/latex/wx/notebook.tex +++ b/docs/latex/wx/notebook.tex @@ -273,7 +273,7 @@ to {\tt SetBackgroundColour}. Otherwise, an uninitialised colour will be returne \func{int}{HitTest}{\param{const wxPoint\&}{ pt}, \param{long}{ *flags = {\tt NULL}}} Returns the index of the tab at the specified position or {\tt wxNOT\_FOUND} -if none. If {\it flags} parameter is non {\tt NULL}, the position of the point +if none. If {\it flags} parameter is non-{\tt NULL}, the position of the point inside the tab is returned as well. \wxheading{Parameters} diff --git a/docs/latex/wx/protocol.tex b/docs/latex/wx/protocol.tex index c1073dd4d6..cc2f8ff736 100644 --- a/docs/latex/wx/protocol.tex +++ b/docs/latex/wx/protocol.tex @@ -34,8 +34,8 @@ true, if the connection is established, else false. \func{wxInputStream *}{GetInputStream}{\param{const wxString\&}{ path}} Creates a new input stream on the specified path. You can use all but seek -functionality of wxStream. Seek isn't available on all stream. For example, -http or ftp streams doesn't deal with it. Other functions like StreamSize and +functionality of wxStream. Seek isn't available on all streams. For example, +HTTP or FTP streams don't deal with it. Other functions like StreamSize and Tell aren't available for the moment for this sort of stream. You will be notified when the EOF is reached by an error. diff --git a/docs/latex/wx/realpoin.tex b/docs/latex/wx/realpoin.tex index 00f11f9771..c9f7254d7e 100644 --- a/docs/latex/wx/realpoin.tex +++ b/docs/latex/wx/realpoin.tex @@ -1,7 +1,7 @@ \section{\class{wxRealPoint}}\label{wxrealpoint} A {\bf wxRealPoint} is a useful data structure for graphics operations. -It contains floating point point {\it x} and {\it y} members. +It contains floating point {\it x} and {\it y} members. See also \helpref{wxPoint}{wxpoint} for an integer version. \wxheading{Derived from} diff --git a/docs/latex/wx/recguard.tex b/docs/latex/wx/recguard.tex index a02c56b653..92049cd8af 100644 --- a/docs/latex/wx/recguard.tex +++ b/docs/latex/wx/recguard.tex @@ -12,7 +12,7 @@ \section{\class{wxRecursionGuard}}\label{wxrecursionguard} wxRecursionGuard is a very simple class which can be used to prevent reentrancy -problems in a function. It is not thread-safe and so should be used only in the +problems in a function. It is not thread-safe and so should be used only in single-threaded programs or in combination with some thread synchronization mechanisms. diff --git a/docs/latex/wx/rect.tex b/docs/latex/wx/rect.tex index 4046c7207a..8e6b9fe02d 100644 --- a/docs/latex/wx/rect.tex +++ b/docs/latex/wx/rect.tex @@ -248,7 +248,7 @@ boundary) and {\tt false} otherwise. \constfunc{bool}{Intersects}{\param{const wxRect\& }{rect}} -Returns {\tt true} if this rectangle has a non empty intersection with the +Returns {\tt true} if this rectangle has a non-empty intersection with the rectangle {\it rect} and {\tt false} otherwise. diff --git a/docs/latex/wx/scrolwin.tex b/docs/latex/wx/scrolwin.tex index dd1273f9ce..23c1ec00cd 100644 --- a/docs/latex/wx/scrolwin.tex +++ b/docs/latex/wx/scrolwin.tex @@ -19,7 +19,7 @@ calling either \helpref{wxWindow::SetVirtualSize}{wxwindowsetvirtualsize}, or \helpref{wxWindow::FitInside}{wxwindowfitinside}, and setting the scrolling increments for it by calling \helpref{wxScrolledWindow::SetScrollRate}{wxscrolledwindowsetscrollrate}. -Scrolling in some orientation is enabled by setting a non zero increment +Scrolling in some orientation is enabled by setting a non-zero increment for it. The most automatic and newest way is to simply let sizers determine the diff --git a/docs/latex/wx/strtotxt.tex b/docs/latex/wx/strtotxt.tex index 8b0e7de771..08219a2dda 100644 --- a/docs/latex/wx/strtotxt.tex +++ b/docs/latex/wx/strtotxt.tex @@ -62,7 +62,7 @@ the default parameter value to the text control {\it text}. \wxheading{Parameters} -\docparam{text}{The text control to append output too, must be non NULL} +\docparam{text}{The text control to append output too, must be non-NULL} \docparam{ostr}{The C++ stream to redirect, {\it cout} is used if it is NULL} diff --git a/docs/latex/wx/timer.tex b/docs/latex/wx/timer.tex index c764bb6b38..dd845dc16c 100644 --- a/docs/latex/wx/timer.tex +++ b/docs/latex/wx/timer.tex @@ -10,7 +10,7 @@ There are three different ways to use this class: \item You may derive a new class from wxTimer and override the \helpref{Notify}{wxtimernotify} member to perform the required action. \item Or you may redirect the notifications to any -\helpref{wxEvtHandler}{wxevthandler} derived object by using the non default +\helpref{wxEvtHandler}{wxevthandler} derived object by using the non-default constructor or \helpref{SetOwner}{wxtimersetowner}. Then use the {\tt EVT\_TIMER} macro to connect it to the event handler which will receive \helpref{wxTimerEvent}{wxtimerevent} notifications. diff --git a/docs/latex/wx/tipwin.tex b/docs/latex/wx/tipwin.tex index 361957eb0b..f88dd8d04f 100644 --- a/docs/latex/wx/tipwin.tex +++ b/docs/latex/wx/tipwin.tex @@ -30,7 +30,7 @@ Constructor. The tip is shown immediately the window is constructed. \wxheading{Parameters} -\docparam{parent}{The parent window, must be non {\tt NULL}} +\docparam{parent}{The parent window, must be non-{\tt NULL}} \docparam{text}{The text to show, may contain the new line characters} @@ -38,7 +38,7 @@ Constructor. The tip is shown immediately the window is constructed. \helpref{SetTipWindowPtr}{wxtipwindowsettipwindowptr} below, please see its documentation for the description of this parameter} -\docparam{rectBounds}{If non {\tt NULL}, passed to +\docparam{rectBounds}{If non-{\tt NULL}, passed to \helpref{SetBoundingRect}{wxtipwindowsetboundingrect} below, please see its documentation for the description of this parameter} @@ -61,7 +61,7 @@ By default, the tip window disappears when the user clicks the mouse or presses a keyboard key or if it loses focus in any other way - for example because the user switched to another application window. -Additionally, if a non empty {\it rectBound} is provided, the tip window will +Additionally, if a non-empty {\it rectBound} is provided, the tip window will also automatically close if the mouse leaves this area. This is useful to dismiss the tip mouse when the mouse leaves the object it is associated with. diff --git a/docs/latex/wx/tlog.tex b/docs/latex/wx/tlog.tex index 805cca79ba..713757d6ca 100644 --- a/docs/latex/wx/tlog.tex +++ b/docs/latex/wx/tlog.tex @@ -13,7 +13,7 @@ Classes: \helpref{wxLog}{wxlog},\\ This is a general overview of logging classes provided by wxWidgets. The word logging here has a broad sense, including all of the program output, not only -non interactive messages. The logging facilities included in wxWidgets provide +non-interactive messages. The logging facilities included in wxWidgets provide the base {\it wxLog} class which defines the standard interface for a {\it log target} as well as several standard implementations of it and a family of functions to use with them. diff --git a/docs/latex/wx/treeevt.tex b/docs/latex/wx/treeevt.tex index c63d4ca071..2cbff24f5b 100644 --- a/docs/latex/wx/treeevt.tex +++ b/docs/latex/wx/treeevt.tex @@ -62,7 +62,7 @@ Constructor. \constfunc{int}{GetKeyCode}{} -Returns the key code if the event was is a key event. Use +Returns the key code if the event is a key event. Use \helpref{GetKeyEvent}{wxtreeeventgetkeyevent} to get the values of the modifier keys for this event (i.e. Shift or Ctrl). @@ -82,7 +82,7 @@ Returns the key event for {\tt EVT\_TREE\_KEY\_DOWN} events. \constfunc{const wxString\&}{GetLabel}{} -Returns the label if the event was a begin or end edit label event. +Returns the label if the event is a begin or end edit label event. \membersection{wxTreeEvent::GetOldItem}\label{wxtreeeventgetolditem} diff --git a/docs/latex/wx/tthreads.tex b/docs/latex/wx/tthreads.tex index 29b0eb9e25..794dd72778 100644 --- a/docs/latex/wx/tthreads.tex +++ b/docs/latex/wx/tthreads.tex @@ -15,7 +15,7 @@ well. These classes will hopefully make writing MT programs easier and they also provide some extra error checking (compared to the native (be it Win32 or Posix) -thread API), however it is still an non-trivial undertaking especially for large +thread API), however it is still a non-trivial undertaking especially for large projects. Before starting an MT application (or starting to add MT features to an existing one) it is worth asking oneself if there is no easier and safer way to implement the same functionality. Of course, in some situations threads @@ -41,7 +41,7 @@ itself and not by the other threads). For communication between secondary threads and the main thread, you may use \helpref{wxEvtHandler::AddPendingEvent}{wxevthandleraddpendingevent} or its short version \helpref{wxPostEvent}{wxpostevent}. These functions -have thread safe implementation so that they can be used as they are for +have a thread-safe implementation so that they can be used as they are for sending events from one thread to another. However there is no built in method to send messages to the worker threads and you will need to use the available synchronization classes to implement the solution which suits your needs diff --git a/docs/latex/wx/uri.tex b/docs/latex/wx/uri.tex index e661387221..b81c247ac0 100644 --- a/docs/latex/wx/uri.tex +++ b/docs/latex/wx/uri.tex @@ -350,7 +350,7 @@ of the base's is merged with this URI's path, resulting in the URI "http://mysite.com/john/mydir". \docparam{base}{Base URI to inherit from. Must be a full URI and not a reference} -\docparam{flags}{Currently either \texttt{wxURI\_STRICT} or $0$, in non strict +\docparam{flags}{Currently either \texttt{wxURI\_STRICT} or $0$, in non-strict mode some compatibility layers are enabled to allow loopholes from RFCs prior to 2396} diff --git a/docs/latex/wx/url.tex b/docs/latex/wx/url.tex index 04caeb84ed..562291e109 100644 --- a/docs/latex/wx/url.tex +++ b/docs/latex/wx/url.tex @@ -81,8 +81,8 @@ It can be one of these errors: \func{wxInputStream *}{GetInputStream}{\void} Creates a new input stream on the specified URL. You can use all but seek -functionality of wxStream. Seek isn't available on all stream. For example, -http or ftp streams doesn't deal with it. +functionality of wxStream. Seek isn't available on all streams. For example, +HTTP or FTP streams don't deal with it. Note that this method is somewhat depreciated, all future wxWidgets applications should really use \helpref{wxFileSystem}{wxfilesystem} instead. diff --git a/docs/latex/wx/window.tex b/docs/latex/wx/window.tex index d6ac077e2e..4c15ed1719 100644 --- a/docs/latex/wx/window.tex +++ b/docs/latex/wx/window.tex @@ -2359,7 +2359,7 @@ not delete) it from it. \wxheading{Parameters} -\docparam{handler}{The event handler to remove, must be non {\tt NULL} and +\docparam{handler}{The event handler to remove, must be non-{\tt NULL} and must be present in this windows event handlers chain} \wxheading{Return value} diff --git a/docs/latex/wx/wizpage.tex b/docs/latex/wx/wizpage.tex index ee3e823fda..1b6812c26b 100644 --- a/docs/latex/wx/wizpage.tex +++ b/docs/latex/wx/wizpage.tex @@ -63,7 +63,7 @@ wizard will resize and reposition the page anyhow. \docparam{bitmap}{The page-specific bitmap if different from the global one} -\docparam{resource}{Load the page from the specified resource if non NULL} +\docparam{resource}{Load the page from the specified resource if non-NULL} \membersection{wxWizardPage::GetPrev}\label{wxwizardpagegetprev} diff --git a/docs/latex/wx/xmlres.tex b/docs/latex/wx/xmlres.tex index 8d0e7b8382..c14a210f07 100644 --- a/docs/latex/wx/xmlres.tex +++ b/docs/latex/wx/xmlres.tex @@ -72,7 +72,8 @@ Initializes only a specific handler (or custom handler). Convention says that the handler name is equal to the control's name plus 'XmlHandler', for example wxTextCtrlXmlHandler, wxHtmlWindowXmlHandler. The XML resource compiler (wxxrc) can create include file that contains initialization code for -all controls used within the resource. +all controls used within the resource. Note that this handler should be +located on heap instead of stack, since it will get destroyed on shutdown. \membersection{wxXmlResource::AttachUnknownControl}\label{wxxmlresourceattachunknowncontrol}