]> git.saurik.com Git - wxWidgets.git/commitdiff
Documentation patch from Olly Betts
authorKevin Hock <hockkn@yahoo.com>
Fri, 22 Oct 2004 19:11:07 +0000 (19:11 +0000)
committerKevin Hock <hockkn@yahoo.com>
Fri, 22 Oct 2004 19:11:07 +0000 (19:11 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30070 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

22 files changed:
include/wx/gtk/radiobox.h
include/wx/gtk1/radiobox.h
include/wx/isql.h
include/wx/isqlext.h
include/wx/mac/setup0.h
include/wx/string.h
include/wx/univ/renderer.h
samples/richedit/wxllist.cpp
samples/toolbar/toolbar.cpp
src/generic/listctrl.cpp
src/iodbc/isql.h
src/iodbc/isqlext.h
src/msw/ownerdrw.cpp
src/msw/window.cpp
wxPython/docs/BUILD.html
wxPython/docs/BUILD.txt
wxPython/docs/CHANGES.html
wxPython/docs/CHANGES.txt
wxPython/docs/xml/wxPython-metadata.xml
wxPython/src/_window.i
wxPython/src/gtk/_core.py
wxPython/wx/lib/masked/maskededit.py

index e426de643fd08eff2a1befa0b5d1e4e208fa136b..f506a1bbda2299918d7200d4f0c8cc1efaf3c0a2 100644 (file)
@@ -127,7 +127,7 @@ public:
 #endif // wxUSE_TOOLTIPS
 
     // reposition the radio buttons correctly unless justCalc == true and
-    // reutrn the total size needed to accomodate them
+    // return the total size needed to accommodate them
     wxSize LayoutItems(bool justCalc) const;
 
     virtual void DoSetSize( int x, int y, int width, int height, int sizeFlags = wxSIZE_AUTO );
index e426de643fd08eff2a1befa0b5d1e4e208fa136b..f506a1bbda2299918d7200d4f0c8cc1efaf3c0a2 100644 (file)
@@ -127,7 +127,7 @@ public:
 #endif // wxUSE_TOOLTIPS
 
     // reposition the radio buttons correctly unless justCalc == true and
-    // reutrn the total size needed to accomodate them
+    // return the total size needed to accommodate them
     wxSize LayoutItems(bool justCalc) const;
 
     virtual void DoSetSize( int x, int y, int width, int height, int sizeFlags = wxSIZE_AUTO );
index 8a5cad8f5d6471a60997da468776d69130efea17..a86d193f00fdd36538e38f39480a9e26e7ea92ce 100644 (file)
@@ -233,7 +233,7 @@ extern "C"
   RETCODE SQL_API SQLTransact (HENV henv, HDBC hdbc, UWORD fType);
 
 /*
- *  Depreciated ODBC 1.0 function - Use SQLBindParameter
+ *  Deprecated ODBC 1.0 function - Use SQLBindParameter
  */
   RETCODE SQL_API SQLSetParam (HSTMT hstmt, UWORD ipar, SWORD fCType,
       SWORD fSqlType, UDWORD cbColDef, SWORD ibScale, PTR rgbValue,
index 87930354eecef89624865fdedfdbd175f1793e5d..1e960450697cffc823f2b0c6fb1560204a44a8c0 100644 (file)
@@ -1166,7 +1166,7 @@ RETCODE SQL_API SQLBindParameter (HSTMT hstmt, UWORD ipar, SWORD fParamType,
     SDWORD cbValueMax, SDWORD FAR * pcbValue);
 
 /*
- *  Depreciated - use SQLSetStmtOptions
+ *  Deprecated - use SQLSetStmtOptions
  */
 RETCODE SQL_API SQLSetScrollOptions (HSTMT hstmt, UWORD fConcurrency,
     SDWORD crowKeyset, UWORD crowRowset);
index 26cf94018e8cf0ba6d034d8d123362341e4fd835..818687974b46d7dbc17dbdb2fb3daf2a2fd4f888 100644 (file)
 // compatibility settings
 // ----------------------------------------------------------------------------
 
-// This setting determines the compatibility with 2.0 API: set it to 1 to
-// enable it
+// This setting determines the compatibility with 2.2 API: set it to 1 to
+// enable it.
 //
 // Default is 0.
 //
 // Recommended setting: 0 (please update your code instead!)
 #define WXWIN_COMPATIBILITY_2_2 0
 
-// This setting determines the compatibility with 2.2 API: set it to 0 to
+// This setting determines the compatibility with 2.4 API: set it to 0 to
 // flag all cases of using deprecated functions.
 //
 // Default is 1 but please try building your code with 0 as the default will
-// change to 0 in the next version and the deprecated functions will disappear
-// in the version after it completely.
+// change to 0 in the next version and the deprecated functions will
+// completely disappear in the version after that.
 //
 // Recommended setting: 0 (please update your code)
 #define WXWIN_COMPATIBILITY_2_4 1
 
-// in wxMSW version 2.1.11 and earlier, wxIcon always derives from wxBitmap,
+// In wxMSW version 2.1.11 and earlier, wxIcon always derives from wxBitmap,
 // but this is very dangerous because you can mistakenly pass an icon instead
 // of a bitmap to a function taking "const wxBitmap&" - which will *not* work
 // because an icon is not a valid bitmap
index 6804f6792dd899d1861cbb9fe37070e2ab4c76a7..a31f122bcc89ee080361b6d237861bd0e57ccfa3 100644 (file)
@@ -86,7 +86,7 @@ extern const unsigned int wxSTRING_MAXLEN;
 
 #else
 // maximum possible length for a string means "take all string" everywhere
-//  (as sizeof(StringData) is unknown here, we substract 100)
+//  (as sizeof(StringData) is unknown here, we subtract 100)
 const unsigned int wxSTRING_MAXLEN = UINT_MAX - 100;
 
 #endif
index 13b04431979cf7d10487387edb095567122ec318..11c5a02807ed3b37e64c0b9addc36308035a85fb 100644 (file)
@@ -115,7 +115,7 @@ public:
                             wxRect *rectIn = (wxRect *)NULL) = 0;
 
     // draw text control border (I hate to have a separate method for this but
-    // it is needed to accomodate GTK+)
+    // it is needed to accommodate GTK+)
     virtual void DrawTextBorder(wxDC& dc,
                                 wxBorder border,
                                 const wxRect& rect,
index 0025d971b3af57fd3b5682a9da5e476a93c8a001..60b6b98434b3459a36519489d1d0fb22e5b70905 100644 (file)
@@ -325,7 +325,7 @@ wxLayoutObjectText::GetOffsetScreen(wxDC &dc, CoordType xpos) const
                        &width, &height, &descent);
       offs++;
    }
-   /* We have to substract 1 to compensate for the offs++, and another
+   /* We have to subtract 1 to compensate for the offs++, and another
       one because we don't want to position the cursor behind the
       object what we clicked on, but before - otherwise it looks
       funny. */
@@ -2141,7 +2141,7 @@ wxLayoutList::MoveCursorWord(int n, bool untilNext)
             CoordType moveDelta = p - start - offset;
             if ( (n < 0) && (offset == tobj->GetLength() - 1) )
             {
-               // because we substracted 1 from offset in this case above, now
+               // because we subtracted 1 from offset in this case above, now
                // compensate for it
                moveDelta--;
             }
index ddc516aa7d3e46744715f5e5f534b90432957cbe..b0a791145fa10887dc149d96e76ddad032690b71 100644 (file)
@@ -279,7 +279,7 @@ void MyFrame::RecreateToolbar()
 #ifdef __WXWINCE__
     // On Windows CE, we should not delete the
     // previous toolbar in case it contains the menubar.
-    // We'll try to accomodate this usage in due course.
+    // We'll try to accommodate this usage in due course.
     wxToolBar* toolBar = CreateToolBar();
 #else
     // delete and recreate the toolbar
index 3c88613e763116be45fd68617a05a9096b8c0786..e965866237a2ff797052cb2898e2462739a7a607 100644 (file)
@@ -3868,7 +3868,7 @@ void wxListMainWindow::RecalculatePositions(bool noRefresh)
         iconSpacing = 0;
 
     // Note that we do not call GetClientSize() here but
-    // GetSize() and substract the border size for sunken
+    // GetSize() and subtract the border size for sunken
     // borders manually. This is technically incorrect,
     // but we need to know the client area's size WITHOUT
     // scrollbars here. Since we don't know if there are
index e8c10d0028360f7e941e3038a2651bd19072a698..971a0dc037d23dd5f8c7b74346cd949cdd47dcc5 100644 (file)
@@ -220,7 +220,7 @@ extern "C"
   RETCODE SQL_API SQLTransact (HENV henv, HDBC hdbc, UWORD fType);
 
 /*
- *  Depreciated ODBC 1.0 function - Use SQLBindParameter
+ *  Deprecated ODBC 1.0 function - Use SQLBindParameter
  */
   RETCODE SQL_API SQLSetParam (HSTMT hstmt, UWORD ipar, SWORD fCType,
       SWORD fSqlType, UDWORD cbColDef, SWORD ibScale, PTR rgbValue,
index caa8cd0a9b0a2833215f1de0958bfd69562e5f29..7a8527a0e63a0baebda4a77479c0670f89276900 100644 (file)
@@ -1165,7 +1165,7 @@ RETCODE SQL_API SQLBindParameter (HSTMT hstmt, UWORD ipar, SWORD fParamType,
     SDWORD cbValueMax, SDWORD FAR * pcbValue);
 
 /*
- *  Depreciated - use SQLSetStmtOptions
+ *  Deprecated - use SQLSetStmtOptions
  */
 RETCODE SQL_API SQLSetScrollOptions (HSTMT hstmt, UWORD fConcurrency,
     SDWORD crowKeyset, UWORD crowRowset);
index 785db7f39e67c17954ef9a962c54c1f6a5f7904e..378f66b95d04fa1bc130ad7ecf97acfd9c9321b1 100644 (file)
@@ -167,7 +167,7 @@ bool wxOwnerDrawn::OnMeasureItem(size_t *pwidth, size_t *pheight)
   // this will also allow offsetting the accel string from the right edge
   *pwidth += GetDefaultMarginWidth() + 16;
 
-  // increase size to accomodate bigger bitmaps if necessary
+  // increase size to accommodate bigger bitmaps if necessary
   if (m_bmpChecked.Ok())
   {
       // Is BMP height larger then text height?
index 9caa2feab588eef115926b3ab341c52719287970..6f277cec40d7d941e70f762164f6cfcf3d16ba08 100644 (file)
@@ -4420,7 +4420,7 @@ static wxWindowMSW *FindWindowForMouseEvent(wxWindowMSW *win, int *x, int *y) //
 bool wxWindowMSW::HandleMouseEvent(WXUINT msg, int x, int y, WXUINT flags)
 {
     // the mouse events take consecutive IDs from WM_MOUSEFIRST to
-    // WM_MOUSELAST, so it's enough to substract WM_MOUSEMOVE == WM_MOUSEFIRST
+    // WM_MOUSELAST, so it's enough to subtract WM_MOUSEMOVE == WM_MOUSEFIRST
     // from the message id and take the value in the table to get wxWin event
     // id
     static const wxEventType eventsMouse[] =
index dbed42016ecaa96ffe0e4589fa4128775290d689..423cc6993a2059e4985984b768333a5c07b47c6c 100644 (file)
@@ -239,7 +239,7 @@ compilers) can also be used but I've never done the work to make that
 happen.  If you want to try that then first you'll want to find out if
 there are any tricks that have to be done to make Python extension
 modules using that compiler, and then make a few changes to setup.py
-to accomodate that.  (And send the patches to me.)  If you plan on
+to accommodate that.  (And send the patches to me.)  If you plan on
 using VisualStudio.Net (a.k.a. MSVC 7.1) keep in mind that you'll also
 have to build Python and any other extension modules that you use with
 that compiler because a different version of the C runtime library is
index 3c3914731027948c8e7ab851dd6ecfbc7321d51f..85d25f0dda8c5efd9a6cdbaf5036828320034d20 100644 (file)
@@ -254,7 +254,7 @@ compilers) can also be used but I've never done the work to make that
 happen.  If you want to try that then first you'll want to find out if
 there are any tricks that have to be done to make Python extension
 modules using that compiler, and then make a few changes to setup.py
-to accomodate that.  (And send the patches to me.)  If you plan on
+to accommodate that.  (And send the patches to me.)  If you plan on
 using VisualStudio.Net (a.k.a. MSVC 7.1) keep in mind that you'll also
 have to build Python and any other extension modules that you use with
 that compiler because a different version of the C runtime library is
index 06c5334f33811abb8c557a4d41dfb51651f024fc..dd3a665131681b58280daf6d220128a7a1d43f45 100644 (file)
@@ -1184,7 +1184,7 @@ an EVT_SIZE handler that calls Layout().</p>
 <p>Fixed deadlock problem that happened when using threads.</p>
 <p>Added new HTML printing classes.</p>
 <p>Added wxWindow.GetHandle</p>
-<p>Apparently wxMouseEvent.Position has been depreciated in wxWindows as
+<p>Apparently wxMouseEvent.Position has been deprecated in wxWindows as
 it is no longer available by default.  You can use GetPositionTuple
 (returning a tuple with x,y) instead, or GetPosition (returning a
 wxPoint.)</p>
@@ -1242,7 +1242,7 @@ pages.  See the demo for an example.</p>
 wxGTK.  Added them back in since the methods exist now.</p>
 <p>Wrapped the wxHtmlHelpController and related classes.</p>
 <p>Wrapped the C++ versions of wxSizer and friends.  The Python-only
-versions are still in the library, but depreciated.  (You will get a
+versions are still in the library, but deprecated.  (You will get a
 warning message if you try to use them, but the warning can be
 disabled.) The usage of the C++ versions is slightly different, and
 the functionality of wxBorderSizer is now part of wxBoxSizer.  I have
@@ -1381,7 +1381,7 @@ matches MSW's.</p>
 <p>Added wxGrid.GetCells</p>
 <p>Added wxSystemSettings static methods as functions with names like
 wxSystemSettings_GetSystemColour.</p>
-<p>Removed wxPyMenu since using menu callbacks have been depreciated in
+<p>Removed wxPyMenu since using menu callbacks have been deprecated in
 wxWindows.  Use wxMenu and events instead.</p>
 <dl>
 <dt>Added alternate wxBitmap constructor (for MSW only) as</dt>
index ff9ea43d2347b5540798e19fe34d7388c70caaec..743840162e76a5290042f7c9de17cbb514caf570 100644 (file)
@@ -1585,7 +1585,7 @@ Added new HTML printing classes.
 
 Added wxWindow.GetHandle
 
-Apparently wxMouseEvent.Position has been depreciated in wxWindows as
+Apparently wxMouseEvent.Position has been deprecated in wxWindows as
 it is no longer available by default.  You can use GetPositionTuple
 (returning a tuple with x,y) instead, or GetPosition (returning a
 wxPoint.)
@@ -1667,7 +1667,7 @@ wxGTK.  Added them back in since the methods exist now.
 Wrapped the wxHtmlHelpController and related classes.
 
 Wrapped the C++ versions of wxSizer and friends.  The Python-only
-versions are still in the library, but depreciated.  (You will get a
+versions are still in the library, but deprecated.  (You will get a
 warning message if you try to use them, but the warning can be
 disabled.) The usage of the C++ versions is slightly different, and
 the functionality of wxBorderSizer is now part of wxBoxSizer.  I have
@@ -1827,7 +1827,7 @@ Added wxGrid.GetCells
 Added wxSystemSettings static methods as functions with names like
 wxSystemSettings_GetSystemColour.
 
-Removed wxPyMenu since using menu callbacks have been depreciated in
+Removed wxPyMenu since using menu callbacks have been deprecated in
 wxWindows.  Use wxMenu and events instead.
 
 Added alternate wxBitmap constructor (for MSW only) as
index 32144cea8bc7be996db963e09143110a18339f4d..48ef3ad3312882e15bb454a9c5b6b964afd69862 100644 (file)
@@ -5724,7 +5724,7 @@ value as used by the parent. In addition, if the window overrides
 ShouldInheritColours to return false, the colours will not be changed
 no matter what and only the font might.
 
-This rather complicated logic is necessary in order to accomodate the
+This rather complicated logic is necessary in order to accommodate the
 different usage scenarius. The most common one is when all default
 attributes are used and in this case, nothing should be inherited as
 in modern GUIs different controls use different fonts (and colours)
index e423775d5590ffcae49b7fa8f0774a044f92289b..2a7c38d5137ce39e3c58c325825ec78deaca10c8 100644 (file)
@@ -1883,8 +1883,8 @@ value as used by the parent. In addition, if the window overrides
 ShouldInheritColours to return false, the colours will not be changed
 no matter what and only the font might.
 
-This rather complicated logic is necessary in order to accomodate the
-different usage scenarius. The most common one is when all default
+This rather complicated logic is necessary in order to accommodate the
+different usage scenarios. The most common one is when all default
 attributes are used and in this case, nothing should be inherited as
 in modern GUIs different controls use different fonts (and colours)
 than their siblings so they can't inherit the same value from the
index 079b9107691a281ddbaad3b1a724b5a42ad9de6c..2e7d7645a7df09fe95abb070666d58c04216ce6a 100644 (file)
@@ -7678,7 +7678,7 @@ class Window(EvtHandler):
         ShouldInheritColours to return false, the colours will not be changed
         no matter what and only the font might.
 
-        This rather complicated logic is necessary in order to accomodate the
+        This rather complicated logic is necessary in order to accommodate the
         different usage scenarius. The most common one is when all default
         attributes are used and in this case, nothing should be inherited as
         in modern GUIs different controls use different fonts (and colours)
index 088ec62fc1c0ecc0ccc17411264423385c9d648d..561719dc93cc62fe2ddfde130e780f4b732f1688 100644 (file)
@@ -5622,7 +5622,7 @@ class MaskedEditMixin:
                 and sel_to >= edit_end
                 and not self._GetValue()[edit_start:sel_start].strip() ):
                 # text won't fit within selection, but left of selection is empty;
-                # check to see if we can expand selection to accomodate the value:
+                # check to see if we can expand selection to accommodate the value:
                 empty_space = sel_start - edit_start
                 amount_needed = len(paste_text) - (sel_to - sel_start)
                 if amount_needed <= empty_space: