Fix spelling in comments and documentation using codespell

Apply the utility from https://github.com/codespell-project/codespell/
to fix spelling issues in the headers under both include and interface
directories and add a file with a couple of exceptions.

The exact command line used was:

    $ codespell -w -I misc/scripts/codespell.ignore -i 3 in*
This commit is contained in:
Vadim Zeitlin
2020-06-27 20:19:59 +02:00
parent 2a368fec9f
commit d7f19ee610
101 changed files with 133 additions and 127 deletions

View File

@@ -45,7 +45,7 @@ protected:
void DoConvertToPng();
private:
// virtual function hiding supression
// virtual function hiding suppression
size_t GetDataSize(const wxDataFormat& format) const
{ return(wxDataObjectSimple::GetDataSize(format)); }
bool GetDataHere(const wxDataFormat& format, void* pBuf) const
@@ -71,7 +71,7 @@ public:
virtual bool SetData(size_t len, const void *buf);
private:
// virtual function hiding supression
// virtual function hiding suppression
size_t GetDataSize(const wxDataFormat& format) const
{ return(wxDataObjectSimple::GetDataSize(format)); }
bool GetDataHere(const wxDataFormat& format, void* pBuf) const

View File

@@ -101,7 +101,7 @@ public:
long m_gdkFunc,
m_gdkDecor;
// private gtk_timeout_add result for mimicing wxUSER_ATTENTION_INFO and
// private gtk_timeout_add result for mimicking wxUSER_ATTENTION_INFO and
// wxUSER_ATTENTION_ERROR difference, -2 for no hint, -1 for ERROR hint, rest for GtkTimeout handle.
int m_urgency_hint;

View File

@@ -317,7 +317,7 @@ public:
// sort the children of this item using the specified callback function
// (it should return -1, 0 or +1 as usual), if it's not specified
// alphabetical comparaison is performed.
// alphabetical comparison is performed.
//
// NB: this function is not reentrant!
void SortChildren(const wxTreeItemId& item,

View File

@@ -211,7 +211,7 @@ public:
bool m_needsStyleChange:1; // May not be able to change
// background style until OnIdle
// C++ has no virtual methods in the constrcutor of any class but we need
// C++ has no virtual methods in the constructor of any class but we need
// different methods of inserting a child window into a wxFrame,
// wxMDIFrame, wxNotebook etc. this is the callback that will get used.
wxInsertChildFunction m_insertCallback;