diff --git a/include/wx/gtk1/window.h b/include/wx/gtk1/window.h index 7b5dd3c3ff..beb0adde8f 100644 --- a/include/wx/gtk1/window.h +++ b/include/wx/gtk1/window.h @@ -149,8 +149,8 @@ public: virtual void ApplyToolTip( GtkTooltips *tips, const wxChar *tip ); #endif // wxUSE_TOOLTIPS - // Call after modifing the value of m_hAdjust or m_vAdjust to bring the - // scrolbar in sync (this does not generate any wx events) + // Call after modifying the value of m_hAdjust or m_vAdjust to bring the + // scrollbar in sync (this does not generate any wx events) void GtkUpdateScrollbar(int orient); // Called from GTK signal handlers. it indicates that diff --git a/include/wx/memory.h b/include/wx/memory.h index d6cc18301e..659a368700 100644 --- a/include/wx/memory.h +++ b/include/wx/memory.h @@ -264,7 +264,7 @@ public: static wxMemStruct * GetHead () { return m_head; } static wxMemStruct * GetTail () { return m_tail; } - // Set the list sentinals. + // Set the list sentinels. static wxMemStruct * SetHead (wxMemStruct * st) { return (m_head = st); } static wxMemStruct * SetTail (wxMemStruct * st) { return (m_tail = st); } diff --git a/src/gtk/dcclient.cpp b/src/gtk/dcclient.cpp index de7fef4706..04d228e63c 100644 --- a/src/gtk/dcclient.cpp +++ b/src/gtk/dcclient.cpp @@ -320,8 +320,8 @@ wxWindowDCImpl::wxWindowDCImpl( wxDC *owner, wxWindow *window ) : SetUpDC(); - /* this must be done after SetUpDC, bacause SetUpDC calls the - repective SetBrush, SetPen, SetBackground etc functions + /* this must be done after SetUpDC, because SetUpDC calls the + respective SetBrush, SetPen, SetBackground etc functions to set up the DC. SetBackground call m_owner->SetBackground and this might not be desired as the standard dc background is white whereas a window might assume gray to be the diff --git a/src/gtk1/dcclient.cpp b/src/gtk1/dcclient.cpp index 4d3e9d120a..ac13a60115 100644 --- a/src/gtk1/dcclient.cpp +++ b/src/gtk1/dcclient.cpp @@ -318,8 +318,8 @@ wxWindowDCImpl::wxWindowDCImpl(wxDC *owner, wxWindow *window) SetUpDC(); - /* this must be done after SetUpDC, bacause SetUpDC calls the - repective SetBrush, SetPen, SetBackground etc functions + /* this must be done after SetUpDC, because SetUpDC calls the + respective SetBrush, SetPen, SetBackground etc functions to set up the DC. SetBackground call m_owner->SetBackground and this might not be desired as the standard dc background is white whereas a window might assume gray to be the diff --git a/src/html/htmlcell.cpp b/src/html/htmlcell.cpp index a853cc0084..1318a5fb0a 100644 --- a/src/html/htmlcell.cpp +++ b/src/html/htmlcell.cpp @@ -96,7 +96,7 @@ wxHtmlCell::~wxHtmlCell() delete m_Link; } -// Update the descent value when whe are in a or . +// Update the descent value when we are in a or . // prevbase is the parent base void wxHtmlCell::SetScriptMode(wxHtmlScriptMode mode, long previousBase) { diff --git a/src/motif/xmcombo/combobox.doc b/src/motif/xmcombo/combobox.doc index 798a7af286..466ea5f8a6 100644 --- a/src/motif/xmcombo/combobox.doc +++ b/src/motif/xmcombo/combobox.doc @@ -201,7 +201,7 @@ Motif 2.0 will have one - whow! after many years, the OSF folk got it!) P.S.: This software is Free Software. Please refer to the file COPYING, which you should have received together this file and the source code of the combo box widget. - However if you find this widget to be usefull, you are encouraged + However if you find this widget to be useful, you are encouraged to donate a reasonable amount to a charitable institution -- there are enough people out there who need help! Sometimes I got the strong impression that programmers tend to get lost in their diff --git a/src/osx/core/bitmap.cpp b/src/osx/core/bitmap.cpp index 5d954386fa..1265f3480e 100644 --- a/src/osx/core/bitmap.cpp +++ b/src/osx/core/bitmap.cpp @@ -401,7 +401,7 @@ void *wxBitmapRefData::BeginRawAccess() #if wxOSX_USE_ICONREF wxASSERT_MSG( m_iconRef == NULL , - wxT("Currently, modifing bitmaps that are used in controls already is not supported") ) ; + wxT("Currently, modifying bitmaps that are used in controls already is not supported") ) ; #endif ++m_rawAccessCount ; diff --git a/src/x11/dcclient.cpp b/src/x11/dcclient.cpp index 797c1b6721..4ffef1b17e 100644 --- a/src/x11/dcclient.cpp +++ b/src/x11/dcclient.cpp @@ -203,8 +203,8 @@ wxWindowDCImpl::wxWindowDCImpl( wxDC* owner, wxWindow *window ) SetUpDC(); - /* this must be done after SetUpDC, bacause SetUpDC calls the - repective SetBrush, SetPen, SetBackground etc functions + /* this must be done after SetUpDC, because SetUpDC calls the + respective SetBrush, SetPen, SetBackground etc functions to set up the DC. SetBackground call m_window->SetBackground and this might not be desired as the standard dc background is white whereas a window might assume gray to be the