From: Vadim Zeitlin Date: Mon, 17 Sep 2012 11:07:30 +0000 (+0000) Subject: No changes, just fix some typos in the comments in the headers. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/105b2ca747a5a405262d9be7028bc082400f6898 No changes, just fix some typos in the comments in the headers. Closes #14665. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72500 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/defs.h b/include/wx/defs.h index 2f58fefc18..a96a6e91f4 100644 --- a/include/wx/defs.h +++ b/include/wx/defs.h @@ -474,7 +474,7 @@ typedef short int WXTYPE; #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 */ @@ -2790,7 +2790,7 @@ typedef int (* LINKAGEMODE wxListIterateFunction)(void *current); /* --------------------------------------------------------------------------- */ /* 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 */ /* --------------------------------------------------------------------------- */ diff --git a/include/wx/encconv.h b/include/wx/encconv.h index 5447fb5980..2d993aad90 100644 --- a/include/wx/encconv.h +++ b/include/wx/encconv.h @@ -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. - // 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 @@ -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 - // 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). diff --git a/include/wx/event.h b/include/wx/event.h index 62d3a575a0..762b73a07b 100644 --- a/include/wx/event.h +++ b/include/wx/event.h @@ -3006,7 +3006,7 @@ public: 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); diff --git a/include/wx/textbuf.h b/include/wx/textbuf.h index 0db6a65279..a2511b427d 100644 --- a/include/wx/textbuf.h +++ b/include/wx/textbuf.h @@ -20,7 +20,7 @@ // 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)