]> git.saurik.com Git - wxWidgets.git/commitdiff
No changes, just fix some typos in the comments in the headers.
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 17 Sep 2012 11:07:30 +0000 (11:07 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 17 Sep 2012 11:07:30 +0000 (11:07 +0000)
Closes #14665.

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

include/wx/defs.h
include/wx/encconv.h
include/wx/event.h
include/wx/textbuf.h

index 2f58fefc18aa9e094a5c4af991242def56f57dc0..a96a6e91f442a5dae5ddded636ed76286a59a90d 100644 (file)
@@ -474,7 +474,7 @@ typedef short int WXTYPE;
     #define wxSTDCALL
 #endif /*  platform */
 
     #define wxSTDCALL
 #endif /*  platform */
 
-/*  LINKAGEMODE mode is empty for everyting except OS/2 */
+/*  LINKAGEMODE mode is empty for everything except OS/2 */
 #ifndef LINKAGEMODE
     #define LINKAGEMODE
 #endif /*  LINKAGEMODE */
 #ifndef LINKAGEMODE
     #define LINKAGEMODE
 #endif /*  LINKAGEMODE */
@@ -2790,7 +2790,7 @@ typedef int (* LINKAGEMODE wxListIterateFunction)(void *current);
 
 /*  --------------------------------------------------------------------------- */
 /*  macros that enable wxWidgets apps to be compiled in absence of the */
 
 /*  --------------------------------------------------------------------------- */
 /*  macros that enable wxWidgets apps to be compiled in absence of the */
-/*  sytem headers, although some platform specific types are used in the */
+/*  system headers, although some platform specific types are used in the */
 /*  platform specific (implementation) parts of the headers */
 /*  --------------------------------------------------------------------------- */
 
 /*  platform specific (implementation) parts of the headers */
 /*  --------------------------------------------------------------------------- */
 
index 5447fb5980b54664cb3f34a6f6b759042b71fd3d..2d993aad90f5aad97e8501de1052c43620d8d56a 100644 (file)
@@ -76,7 +76,7 @@ class WXDLLIMPEXP_BASE wxEncodingConverter : public wxObject
             //              try some (lossy) substitutions - e.g. replace
             //              unconvertable latin capitals with acute by ordinary
             //              capitals, replace en-dash or em-dash by '-' etc.
             //              try some (lossy) substitutions - e.g. replace
             //              unconvertable latin capitals with acute by ordinary
             //              capitals, replace en-dash or em-dash by '-' etc.
-            //     both modes gurantee that output string will have same length
+            //     both modes guarantee that output string will have same length
             //     as input string
             //
             // Returns false if given conversion is impossible, true otherwise
             //     as input string
             //
             // Returns false if given conversion is impossible, true otherwise
@@ -109,7 +109,7 @@ class WXDLLIMPEXP_BASE wxEncodingConverter : public wxObject
             //
             // Equivalence is defined in terms of convertibility:
             // 2 encodings are equivalent if you can convert text between
             //
             // Equivalence is defined in terms of convertibility:
             // 2 encodings are equivalent if you can convert text between
-            // then without loosing information (it may - and will - happen
+            // then without losing information (it may - and will - happen
             // that you loose special chars like quotation marks or em-dashes
             // but you shouldn't loose any diacritics and language-specific
             // characters when converting between equivalent encodings).
             // that you loose special chars like quotation marks or em-dashes
             // but you shouldn't loose any diacritics and language-specific
             // characters when converting between equivalent encodings).
index 62d3a575a06ddcd792147a9ee9bd89181aef938c..762b73a07b5fcf322d5ed71d2e5cfa521c179e32 100644 (file)
@@ -3006,7 +3006,7 @@ public:
 protected:
     // Init the hash table with the entries of the static event table.
     void InitHashTable();
 protected:
     // Init the hash table with the entries of the static event table.
     void InitHashTable();
-    // Helper funtion of InitHashTable() to insert 1 entry into the hash table.
+    // Helper function of InitHashTable() to insert 1 entry into the hash table.
     void AddEntry(const wxEventTableEntry &entry);
     // Allocate and init with null pointers the base hash table.
     void AllocEventTypeTable(size_t size);
     void AddEntry(const wxEventTableEntry &entry);
     // Allocate and init with null pointers the base hash table.
     void AllocEventTypeTable(size_t size);
index 0db6a652799741326ad70f0635ac4487852466cd..a2511b427d59a918b7c280024f697e3fed7ee64f 100644 (file)
@@ -20,7 +20,7 @@
 // constants
 // ----------------------------------------------------------------------------
 
 // constants
 // ----------------------------------------------------------------------------
 
-// the line termination type (kept wxTextFileType name for compability)
+// the line termination type (kept wxTextFileType name for compatibility)
 enum wxTextFileType
 {
     wxTextFileType_None,  // incomplete (the last line of the file only)
 enum wxTextFileType
 {
     wxTextFileType_None,  // incomplete (the last line of the file only)