Fixed various typos.
Applied patch by snowleopard2 fixing a bunch of typos such as misspellings and double words in the documentation. Combined the patch with some local queued typos waiting to be committed as well as adding new typo fixes inspired by the patch. Function names with American spelling were not changed nor was third-party code touched. The only code changes involve some changes in strings that are translated ("Can not" -> "Cannot"). Closes #13063 (again). git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67280 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -68,7 +68,7 @@ bool wxOpenClipboard()
|
||||
}
|
||||
else
|
||||
{
|
||||
wxLogDebug(wxT("Can not open clipboard without a main window."));
|
||||
wxLogDebug(wxT("Cannot open clipboard without a main window."));
|
||||
|
||||
return false;
|
||||
}
|
||||
|
@@ -925,7 +925,7 @@ wxFont::~wxFont()
|
||||
// ----------------------------------------------------------------------------
|
||||
// real implementation
|
||||
// Boris' Kovalenko comments:
|
||||
// Because OS/2 fonts are associated with PS we can not create the font
|
||||
// Because OS/2 fonts are associated with PS we cannot create the font
|
||||
// here, but we may check that font definition is true
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
|
@@ -106,7 +106,7 @@ typedef struct _MYRECORD
|
||||
// Problem:
|
||||
// The MSW version had problems with SetTextColour() et al as the
|
||||
// CListItemAttr's were stored keyed on the item index. If a item was
|
||||
// inserted anywhere but the end of the list the the text attributes
|
||||
// inserted anywhere but the end of the list the text attributes
|
||||
// (colour etc) for the following items were out of sync.
|
||||
//
|
||||
// Solution:
|
||||
|
@@ -114,7 +114,7 @@ wxMutexInternal::wxMutexInternal(wxMutexType WXUNUSED(eMutexType))
|
||||
APIRET ulrc = ::DosCreateMutexSem(NULL, &m_vMutex, 0L, FALSE);
|
||||
if (ulrc != 0)
|
||||
{
|
||||
wxLogSysError(_("Can not create mutex."));
|
||||
wxLogSysError(_("Cannot create mutex."));
|
||||
m_vMutex = NULL;
|
||||
}
|
||||
}
|
||||
@@ -511,7 +511,7 @@ bool wxThreadInternal::Suspend()
|
||||
|
||||
if (ulrc != 0)
|
||||
{
|
||||
wxLogSysError(_("Can not suspend thread %lu"), m_hThread);
|
||||
wxLogSysError(_("Cannot suspend thread %lu"), m_hThread);
|
||||
return false;
|
||||
}
|
||||
m_eState = STATE_PAUSED;
|
||||
@@ -525,7 +525,7 @@ bool wxThreadInternal::Resume()
|
||||
|
||||
if (ulrc != 0)
|
||||
{
|
||||
wxLogSysError(_("Can not resume thread %lu"), m_hThread);
|
||||
wxLogSysError(_("Cannot resume thread %lu"), m_hThread);
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user