]> git.saurik.com Git - wxWidgets.git/commitdiff
miscellaneous minor corrections (patch 1652327)
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 11 Feb 2007 02:53:05 +0000 (02:53 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 11 Feb 2007 02:53:05 +0000 (02:53 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44459 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 files changed:
docs/latex/wx/app.tex
docs/latex/wx/boxsizer.tex
docs/latex/wx/ctrlsub.tex
docs/latex/wx/dc.tex
docs/latex/wx/fsfile.tex
docs/latex/wx/log.tex
docs/latex/wx/mutex.tex
docs/latex/wx/spinevt.inc
docs/latex/wx/tevent.tex
docs/latex/wx/tsizer.tex
docs/latex/wx/url.tex
docs/latex/wx/window.tex

index 1c50ac52ebc0872ef456ed21c1a8f612aaa7b4a6..d29ee9d6db8046fdf01a1da2787d0deeff310fe8 100644 (file)
@@ -238,7 +238,7 @@ to do it.
 Returns \true if the main event loop is currently running, i.e. if the
 application is inside \helpref{OnRun}{wxapponrun}.
 
-This can be useful to test whether the events can be dispatched. For example,
+This can be useful to test whether events can be dispatched. For example,
 if this function returns \false, non-blocking sockets cannot be used because
 the events from them would never be processed.
 
index 279896593d7729f9d0121e5a00bf9a45ef99c696..4f75fb61a0d98b387f1da2f035b95ee3e7bb9090 100644 (file)
@@ -32,7 +32,7 @@ or wxHORIZONTAL for creating either a column sizer or a row sizer.
 Implements the calculation of a box sizer's dimensions and then sets
 the size of its children (calling \helpref{wxWindow::SetSize}{wxwindowsetsize} 
 if the child is a window). It is used internally only and must not be called
-by the user. Documented for information.
+by the user (call Layout() if you want to resize). Documented for information.
 
 \membersection{wxBoxSizer::CalcMin}\label{wxboxsizercalcmin}
 
index a494823a1eb3eee7c2aac225c22a75925680cc37..302e2722d8d03d8bd49f3663d02061616ec4afac 100644 (file)
@@ -359,7 +359,7 @@ Sets the label for the given item.
 \func{bool}{SetStringSelection}{\param{const wxString\& }{ string}}
 
 Selects the item with the specified string in the control. This doesn't cause
-any command events being emitted.
+any command events to be emitted.
 
 \wxheading{Parameters}
 
index b6c7feed01fad51d968aba1eb02fd2bd02f2abf9..5f57bfbac964a627c3dcda0e0a78ddc7493fdd43 100644 (file)
@@ -999,7 +999,7 @@ whether text will be drawn with a background colour or not.
 Sets the current brush for the DC.
 
 If the argument is wxNullBrush, the current brush is selected out of the device
-context, and the original brush restored, allowing the current brush to
+context (leaving wxDC without any valid brush), allowing the current brush to
 be destroyed safely.
 
 See also \helpref{wxBrush}{wxbrush}.
@@ -1152,7 +1152,8 @@ See \helpref{wxPalette}{wxpalette} for further details.
 Sets the current pen for the DC.
 
 If the argument is wxNullPen, the current pen is selected out of the device
-context, and the original pen restored.
+context (leaving wxDC without any valid pen), allowing the current brush to
+be destroyed safely.
 
 See also \helpref{wxMemoryDC}{wxmemorydc} for the interpretation of colours
 when drawing into a monochrome bitmap.
index 220a6161589d96bd0551310a423c984b1f4c684d..50b13411d4d83b3ca409bea1ba1d2198f22b80b1 100644 (file)
@@ -12,7 +12,7 @@ It provides more information than wxWindow's input stream
 {\bf Note:} Any pointer returned by a method of wxFSFile is valid
 only as long as the wxFSFile object exists. For example a call to GetStream()
 doesn't {\it create} the stream but only returns the pointer to it. In
-other words after 10 calls to GetStream() you will obtain ten identical
+other words after 10 calls to GetStream() you will have obtained ten identical
 pointers.
 
 \wxheading{Derived from}
index 04e2889690ac4aa1902a1e799243151e2df9e715..026dc1eadd913db056f63ca1e9a038bb54405cf2 100644 (file)
@@ -264,7 +264,7 @@ corresponding to the log level and then calls
 
 \func{virtual void}{DoLogString}{\param{const wxChar }{*msg}, \param{time\_t }{timestamp}}
 
-Called to log the specified string. The timestamp is already included into the
+Called to log the specified string. The timestamp is already included in the
 string but still passed to this function.
 
 A simple implementation may just send the string to {\tt stdout} or, better,
index 5e8275059f51d430997dc001fa0733d4747e2d99..64c95d8c84903beea4f57273f545a0ec29ca289f 100644 (file)
@@ -41,7 +41,7 @@ because during a new node addition the list integrity is temporarily broken
         s_mutexProtectingTheGlobalList->Unlock();
     }
 
-    // return true the given number is greater than all array elements
+    // return true if the given number is greater than all array elements
     bool MyThread::IsGreater(int num)
     {
         // before using the list we must acquire the mutex
index 2523492edca5913e6ae81e49c0c34d53ddeac9d1..8f88fea53648c07e6d705067c1e8c4ac306fce78 100644 (file)
@@ -24,5 +24,5 @@ direct input to member functions that take a
 \end{twocollist}%
 
 Note that if you handle both SPIN and UP or DOWN events, you will be notified
-about each of them twice: first the UP/DOWN event will be receieved and then,
+about each of them twice: first the UP/DOWN event will be received and then,
 if it wasn't vetoed, the SPIN event will be sent.
index e615864ac3c1d08938c929cad229c8b260c4856e..7a959a9fb4b170b06d84b297f904dac8e024cf27 100644 (file)
@@ -449,7 +449,7 @@ DEFINE_EVENT_TYPE(name)
 \end{verbatim}
 
 You can ignore the {\it value} parameter of the DECLARE\_EVENT\_TYPE macro
-since it used only for backwards compatibility with wxWidgets 2.0.x based
+since it is used only for backwards compatibility with wxWidgets 2.0.x based
 applications where you have to give the event type ID an explicit value.
 
 See also the \helpref{event sample}{sampleevent} for an example of code
index 1ebd9dbbfb37e7c062da722f1665237a8c964af0..815b7e4357f45513e51abd8e79ac3a4b7855670b 100644 (file)
@@ -215,7 +215,7 @@ wxALIGN\_BOTTOM, wxALIGN\_CENTER\_HORIZONTAL and wxALIGN\_CENTER\_VERTICAL do wh
 wxALIGN\_CENTRE (same as wxALIGN\_CENTER) is defined as (wxALIGN\_CENTER\_HORIZONTAL |
 wxALIGN\_CENTER\_VERTICAL).  Default alignment is wxALIGN\_LEFT | wxALIGN\_TOP.
 
-As mentioned above, any window belonging to a sizer may have border, and it can be specified
+As mentioned above, any window belonging to a sizer may have border, and it can be specified
 which of the four sides may have this border, using the wxTOP, wxLEFT, wxRIGHT and wxBOTTOM
 constants or wxALL for all directions (and you may also use wxNORTH, wxWEST etc instead). These
 flags can be used in combination with the alignment flags above as the second parameter of the
index cd06c6688f8e76558972f227c6c7d4394269ceb9..fd2c8546876253a82d6da5bf95e31afbf5cdff55 100644 (file)
@@ -73,7 +73,7 @@ It can be one of these errors:
 \twocolitem{{\bf wxURL\_NOERR}}{No error.}
 \twocolitem{{\bf wxURL\_SNTXERR}}{Syntax error in the URL string.}
 \twocolitem{{\bf wxURL\_NOPROTO}}{Found no protocol which can get this URL.}
-\twocolitem{{\bf wxURL\_NOHOST}}{An host name is required for this protocol.}
+\twocolitem{{\bf wxURL\_NOHOST}}{A host name is required for this protocol.}
 \twocolitem{{\bf wxURL\_NOPATH}}{A path is required for this protocol.}
 \twocolitem{{\bf wxURL\_CONNERR}}{Connection error.}
 \twocolitem{{\bf wxURL\_PROTOERR}}{An error occurred during negotiation.}
index 6983c824cf1dc4d11f3399af705a63809cb7b3c1..e170cc92da2dcd51806a3cd5d2d97d2532eea65e 100644 (file)
@@ -659,7 +659,7 @@ If no window with such name is found,
 \func{virtual void}{Fit}{\void}
 
 Sizes the window so that it fits around its subwindows. This function won't do
-anything if there are no subwindows and will only really work correctly if the
+anything if there are no subwindows and will only really work correctly if
 sizers are used for the subwindows layout. Also, if the window has exactly one
 subwindow it is better (faster and the result is more precise as Fit adds some
 margin to account for fuzziness of its calculations) to call
@@ -1171,7 +1171,7 @@ method:\par
 
 \constfunc{virtual wxRect}{GetRect}{\void}
 
-Returns the size and position of the window as a \helpref{wxRect}{wxrect} object.
+Returns the position and size of the window as a \helpref{wxRect}{wxrect} object.
 
 \wxheading{See also}
 
@@ -1202,7 +1202,7 @@ child window or a top level one.
 
 \constfunc{virtual wxRect}{GetScreenRect}{\void}
 
-Returns the size and position of the window on the screen as a 
+Returns the position and size of the window on the screen as a 
 \helpref{wxRect}{wxrect} object.
 
 \wxheading{See also}
@@ -3266,7 +3266,7 @@ and usually the scrollbar will be automatically hidden.
 
 \func{virtual void}{SetSize}{\param{const wxRect\&}{ rect}}
 
-Sets the size and position of the window in pixels.
+Sets the position and size of the window in pixels.
 
 \func{virtual void}{SetSize}{\param{int}{ width}, \param{int}{ height}}
 
@@ -3363,7 +3363,7 @@ parameter if the {\it sizer}\/ is non-NULL and {\tt false} otherwise.
 \docparam{sizer}{The sizer to set. Pass NULL to disassociate and conditionally delete
 the window's sizer.  See below.}
 
-\docparam{deleteOld}{If true (the default), this will delete any prexisting sizer.
+\docparam{deleteOld}{If true (the default), this will delete any pre-existing sizer.
 Pass false if you wish to handle deleting the old sizer yourself.}
 
 \wxheading{Remarks}