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:
@@ -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
|
||||
|
@@ -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;
|
||||
|
||||
|
@@ -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,
|
||||
|
@@ -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;
|
||||
|
Reference in New Issue
Block a user