From 25e3f0c69e5c2b921ce8c54faca15a5671d03237 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sat, 5 May 2012 14:09:59 +0000 Subject: [PATCH] No changes, just spelling corrections in the comments. Closes #14275. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71366 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/ftp.cpp | 6 +++--- src/common/gbsizer.cpp | 2 +- src/common/gifdecod.cpp | 2 +- src/common/pickerbase.cpp | 2 +- src/common/sizer.cpp | 2 +- src/common/stream.cpp | 2 +- 6 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/common/ftp.cpp b/src/common/ftp.cpp index 94875a9488..dfda3b0c8c 100644 --- a/src/common/ftp.cpp +++ b/src/common/ftp.cpp @@ -684,7 +684,7 @@ public: // when checking the result, the stream will // almost always show an error, even if the file was - // properly transfered, thus, let's just grab the result + // properly transferred, thus, let's just grab the result // we are looking for "226 transfer completed" char code = m_ftp->GetResult(); @@ -900,7 +900,7 @@ int wxFTP::GetFileSize(const wxString& fileName) int filesize = -1; - // Check for existance of file via wxFTP::FileExists(...) + // Check for existence of file via wxFTP::FileExists(...) if ( FileExists(fileName) ) { wxString command; @@ -937,7 +937,7 @@ int wxFTP::GetFileSize(const wxString& fileName) } // Set transfermode back to the original. Only the "SIZE"-command - // is dependant on transfermode + // is dependent on transfermode if ( oldTransfermode != NONE ) { SetTransferMode(oldTransfermode); diff --git a/src/common/gbsizer.cpp b/src/common/gbsizer.cpp index d9451c0983..773c0f0ebc 100644 --- a/src/common/gbsizer.cpp +++ b/src/common/gbsizer.cpp @@ -471,7 +471,7 @@ wxSize wxGridBagSizer::CalcMin() item->GetPos(row, col); item->GetEndPos(endrow, endcol); - // fill heights and widths upto this item if needed + // fill heights and widths up to this item if needed while ( (int)m_rowHeights.GetCount() <= endrow ) m_rowHeights.Add(m_emptyCellSize.GetHeight()); while ( (int)m_colWidths.GetCount() <= endcol ) diff --git a/src/common/gifdecod.cpp b/src/common/gifdecod.cpp index cd119826f2..b853ee97a9 100644 --- a/src/common/gifdecod.cpp +++ b/src/common/gifdecod.cpp @@ -354,7 +354,7 @@ wxGIFDecoder::dgif(wxInputStream& stream, GIFImage *img, int interl, int bits) ab_clr = (1 << bits); ab_fin = (1 << bits) + 1; - // these will change through the decompression proccess + // these will change through the decompression process ab_bits = bits + 1; ab_free = (1 << bits) + 2; ab_max = (1 << ab_bits) - 1; diff --git a/src/common/pickerbase.cpp b/src/common/pickerbase.cpp index da1a4ad59d..fa35329952 100644 --- a/src/common/pickerbase.cpp +++ b/src/common/pickerbase.cpp @@ -82,7 +82,7 @@ bool wxPickerBase::CreateBase(wxWindow *parent, return false; } - // set the maximum lenght allowed for this textctrl. + // set the maximum length allowed for this textctrl. // This is very important since any change to it will trigger an update in // the m_picker; for very long strings, this real-time synchronization could // become a CPU-blocker and thus should be avoided. diff --git a/src/common/sizer.cpp b/src/common/sizer.cpp index f964661d2e..b86f9f83b3 100644 --- a/src/common/sizer.cpp +++ b/src/common/sizer.cpp @@ -486,7 +486,7 @@ void wxSizerItem::SetDimension( const wxPoint& pos_, const wxSize& size_ ) // have changed alignment or some other property which would // not change the size of the window. In such a case, no // wxSizeEvent would normally be generated and thus the - // control wouldn't get layed out correctly here. + // control wouldn't get laid out correctly here. #if 1 m_window->SetSize(pos.x, pos.y, size.x, size.y, wxSIZE_ALLOW_MINUS_ONE|wxSIZE_FORCE_EVENT ); diff --git a/src/common/stream.cpp b/src/common/stream.cpp index 4fe8a17cab..f7cd2ea2c5 100644 --- a/src/common/stream.cpp +++ b/src/common/stream.cpp @@ -955,7 +955,7 @@ wxFileOffset wxInputStream::SeekI(wxFileOffset pos, wxSeekMode mode) wxASSERT(bytes_read == (size_t)pos); - // we should now have seeked to the right position... + // we should now have sought to the right position... return TellI(); } -- 2.45.2