]> git.saurik.com Git - wxWidgets.git/commitdiff
No real changes, just fix a typo in comments and documentation.
authorVadim Zeitlin <vadim@wxwidgets.org>
Thu, 14 Jan 2010 18:02:26 +0000 (18:02 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Thu, 14 Jan 2010 18:02:26 +0000 (18:02 +0000)
Use "surprising" instead of (common) "surprizing" misspelling.

Closes #11627.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63154 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/chkconf.h
interface/wx/scopedptr.h
src/common/wincmn.cpp
src/msw/listctrl.cpp
src/msw/window.cpp
src/osx/dialog_osx.cpp
tests/strings/strings.cpp

index ccb3fb687a054594b9d6dec21905f9fad4065807..eb67a29a56968c82bd4dbd48eac1c6744fb1e2ff 100644 (file)
@@ -49,7 +49,7 @@
    this global setting determines what should we do if the setting FOO
    requires BAR and BAR is not set: we can either silently unset FOO as well
    (do this if you're trying to build the smallest possible library) or give an
    this global setting determines what should we do if the setting FOO
    requires BAR and BAR is not set: we can either silently unset FOO as well
    (do this if you're trying to build the smallest possible library) or give an
-   error and abort (default as leads to least surprizing behaviour)
+   error and abort (default as leads to least surprising behaviour)
  */
 #define wxABORT_ON_CONFIG_ERROR
 
  */
 #define wxABORT_ON_CONFIG_ERROR
 
index 53d1eb41819fd01a35b544efbdf79e095c440f86..73a5bfd43dee97dc4832f93dccc815c08300ca56 100644 (file)
@@ -20,7 +20,7 @@
     deleted when the smart pointer goes out of scope. This class is different from
     the @c std::auto_ptr<> in so far as it doesn't provide copy constructor
     nor assignment operator. This limits what you can do with it but is much less
     deleted when the smart pointer goes out of scope. This class is different from
     the @c std::auto_ptr<> in so far as it doesn't provide copy constructor
     nor assignment operator. This limits what you can do with it but is much less
-    surprizing than the "destructive copy" behaviour of the standard class.
+    surprising than the "destructive copy" behaviour of the standard class.
 
     @b Example:
 
 
     @b Example:
 
index b7a70c15e13c45c315e45f63b26357c72dc890ec..6b8a69a150d0457533734497bd6f51a86033d388 100644 (file)
@@ -1365,7 +1365,7 @@ wxColour wxWindowBase::GetBackgroundColour() const
         wxColour colBg = GetDefaultAttributes().colBg;
 
         // we must return some valid colour to avoid redoing this every time
         wxColour colBg = GetDefaultAttributes().colBg;
 
         // we must return some valid colour to avoid redoing this every time
-        // and also to avoid surprizing the applications written for older
+        // and also to avoid surprising the applications written for older
         // wxWidgets versions where GetBackgroundColour() always returned
         // something -- so give them something even if it doesn't make sense
         // for this window (e.g. it has a themed background)
         // wxWidgets versions where GetBackgroundColour() always returned
         // something -- so give them something even if it doesn't make sense
         // for this window (e.g. it has a themed background)
index 8efb534922cc1a5a4ea417274fe7b97493e0af53..67ff3f717cf209f9e9170df1a3aefd9329d89831 100644 (file)
@@ -2454,7 +2454,7 @@ bool wxListCtrl::MSWOnNotify(int idCtrl, WXLPARAM lParam, WXLPARAM *result)
                         // wrap to the beginning if necessary
                         if ( currentPos == maxPos )
                         {
                         // wrap to the beginning if necessary
                         if ( currentPos == maxPos )
                         {
-                            // somewhat surprizingly, LVFI_WRAP isn't set in
+                            // somewhat surprisingly, LVFI_WRAP isn't set in
                             // flags but we still should wrap
                             currentPos = 0;
                         }
                             // flags but we still should wrap
                             currentPos = 0;
                         }
index 1aab7e12dd488860b4c2ec6014b2e3503c80a92c..0ebb93aa599e036d279ed77d1dbe9b6cce83667e 100644 (file)
@@ -2338,7 +2338,7 @@ bool wxWindowMSW::MSWProcessMessage(WXMSG* pMsg)
             // combinations which are always processed)
             LONG lDlgCode = ::SendMessage(msg->hwnd, WM_GETDLGCODE, 0, 0);
 
             // combinations which are always processed)
             LONG lDlgCode = ::SendMessage(msg->hwnd, WM_GETDLGCODE, 0, 0);
 
-            // surprizingly, DLGC_WANTALLKEYS bit mask doesn't contain the
+            // surprisingly, DLGC_WANTALLKEYS bit mask doesn't contain the
             // DLGC_WANTTAB nor DLGC_WANTARROWS bits although, logically,
             // it, of course, implies them
             if ( lDlgCode & DLGC_WANTALLKEYS )
             // DLGC_WANTTAB nor DLGC_WANTARROWS bits although, logically,
             // it, of course, implies them
             if ( lDlgCode & DLGC_WANTALLKEYS )
index fbc3ce67e21b7a9daec0ca583aeadecf42cf7294..c51035b9690bbc4dfc5e87752c75faee18233d12 100644 (file)
@@ -138,7 +138,7 @@ int wxDialog::ShowModal()
     return GetReturnCode();
 }
 
     return GetReturnCode();
 }
 
-// NB: this function (surprizingly) may be called for both modal and modeless
+// NB: this function (surprisingly) may be called for both modal and modeless
 //     dialogs and should work for both of them
 void wxDialog::EndModal(int retCode)
 {
 //     dialogs and should work for both of them
 void wxDialog::EndModal(int retCode)
 {
index 92dff3e9942cabf30b6707a291ada90dfdc8d536..bc8a02817ca6ae37c4e5e8ce93871eb656528468 100644 (file)
@@ -567,7 +567,7 @@ static const struct ToLongData
     { wxT("--1"), 0, Number_Invalid },
 
     { wxT("-1"), -1, Number_Signed | Number_Long },
     { wxT("--1"), 0, Number_Invalid },
 
     { wxT("-1"), -1, Number_Signed | Number_Long },
-    // this is surprizing but consistent with strtoul() behaviour
+    // this is surprising but consistent with strtoul() behaviour
     { wxT("-1"), ULONG_MAX, Number_Unsigned | Number_Long },
 
     // this must overflow, even with 64 bit long
     { wxT("-1"), ULONG_MAX, Number_Unsigned | Number_Long },
 
     // this must overflow, even with 64 bit long