Fix misspellings in comments and documentation

No real changes.

Closes https://github.com/wxWidgets/wxWidgets/pull/870
This commit is contained in:
Blake-Eryx
2018-07-31 13:16:40 +02:00
committed by Vadim Zeitlin
parent 11e6a40a97
commit 49e20a961d
19 changed files with 28 additions and 28 deletions

View File

@@ -337,7 +337,7 @@ public:
int GetWatchedPathsCount() const;
/**
* Retrevies all watched paths and places them in wxArrayString. Returns
* Retrieves all watched paths and places them in wxArrayString. Returns
* the number of paths.
*
* TODO think about API here: we need to return more information (like is

View File

@@ -146,7 +146,7 @@ protected:
/**
Virtual dtor.
It is not really needed in this case but at leats it prevents gcc from
It is not really needed in this case, but at least it prevents gcc from
complaining about its absence.
*/
virtual ~wxHtmlWindowMouseHelper() { }

View File

@@ -294,7 +294,7 @@ public:
Converts the array to a wxVariant with the list type, regardless of the
underlying SAFEARRAY type.
If the array is multidimensional, it is flattened using the alghoritm
If the array is multidimensional, it is flattened using the algorithm
originally employed in wxConvertOleToVariant().
*/
bool ConvertToVariant(wxVariant& variant) const
@@ -327,7 +327,7 @@ public:
Converts an array to an ArrayString.
Can be called only for wxSafeArray<VT_BSTR>. If the array is
multidimensional, it is flattened using the alghoritm originally
multidimensional, it is flattened using the algorithm originally
employed in wxConvertOleToVariant().
*/
bool ConvertToArrayString(wxArrayString& strings) const

View File

@@ -40,7 +40,7 @@ public:
to transfer ownership of that reference to this ref holder. If the object comes from
a Create or Copy method then this is the correct behaviour. If the object comes from
a Get method then you must CFRetain it yourself before passing it to this constructor.
A handy way to do this is to use the non-member wxCFRefFromGet factory funcion.
A handy way to do this is to use the non-member wxCFRefFromGet factory function.
This method is templated and takes an otherType *p. This prevents implicit conversion
using an operator refType() in a different ref-holding class type.
*/

View File

@@ -41,7 +41,7 @@ public:
to transfer ownership of that reference to this ref holder. If the object comes from
a Create or Copy method then this is the correct behaviour. If the object comes from
a Get method then you must CFRetain it yourself before passing it to this constructor.
A handy way to do this is to use the non-member wxCFRefFromGet factory funcion.
A handy way to do this is to use the non-member wxCFRefFromGet factory function.
This method is templated and takes an otherType *p. This prevents implicit conversion
using an operator refType() in a different ref-holding class type.
*/

View File

@@ -172,7 +172,7 @@ public:
to transfer ownership of that reference to this ref holder. If the object comes from
a Create or Copy method then this is the correct behaviour. If the object comes from
a Get method then you must CFRetain it yourself before passing it to this constructor.
A handy way to do this is to use the non-member wxCFRefFromGet factory funcion.
A handy way to do this is to use the non-member wxCFRefFromGet factory function.
*/
wxCFRef(refType p) : m_ptr(p)
{
@@ -186,7 +186,7 @@ public:
to transfer ownership of that reference to this ref holder. If the object comes from
a Create or Copy method then this is the correct behaviour. If the object comes from
a Get method then you must CFRetain it yourself before passing it to this constructor.
A handy way to do this is to use the non-member wxCFRefFromGet factory funcion.
A handy way to do this is to use the non-member wxCFRefFromGet factory function.
This method is templated and takes an otherType *p. This prevents implicit conversion
using an operator refType() in a different ref-holding class type.
*/

View File

@@ -70,7 +70,7 @@ public:
@param ptSize point size of the font to create; note that this is
a float and not integer, it should be wxFont's point
size multipled by wxDC's scale factor
size multiplied by wxDC's scale factor
@param aa should the font be antialiased?
*/
virtual wxFontInstance *GetFontInstance(float ptSize, bool aa);
@@ -98,7 +98,7 @@ public:
/// Returns name of the bundle
virtual wxString GetName() const = 0;
/// Returns true if the font is fixe-width
/// Returns true if the font is fixed-width
virtual bool IsFixed() const = 0;
/// Type of faces in the bundle

View File

@@ -505,7 +505,7 @@ public:
/**
Partial equality test. If @a weakTest is @true, attributes of this object do not
have to be present if those attributes of @a dim sare present. If @a weakTest is
have to be present if those attributes of @a dims are present. If @a weakTest is
@false, the function will fail if an attribute is present in @a dims but not
in this object.

View File

@@ -1247,7 +1247,7 @@ public:
bool EndParagraphSpacing() { return GetBuffer().EndParagraphSpacing(); }
/**
Begins appling line spacing. @e spacing is a multiple, where 10 means
Begins applying line spacing. @e spacing is a multiple, where 10 means
single-spacing, 15 means 1.5 spacing, and 20 means double spacing.
The ::wxTextAttrLineSpacing constants are defined for convenience.
@@ -1497,7 +1497,7 @@ public:
virtual bool WordLeft(int noPages = 1, int flags = 0);
/**
Move a nuber of words to the right.
Move a number of words to the right.
*/
virtual bool WordRight(int noPages = 1, int flags = 0);