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
This commit is contained in:
Vadim Zeitlin
2012-05-05 14:09:59 +00:00
parent 8e8d910979
commit 25e3f0c69e
6 changed files with 8 additions and 8 deletions

View File

@@ -684,7 +684,7 @@ public:
// when checking the result, the stream will // when checking the result, the stream will
// almost always show an error, even if the file was // 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" // we are looking for "226 transfer completed"
char code = m_ftp->GetResult(); char code = m_ftp->GetResult();
@@ -900,7 +900,7 @@ int wxFTP::GetFileSize(const wxString& fileName)
int filesize = -1; int filesize = -1;
// Check for existance of file via wxFTP::FileExists(...) // Check for existence of file via wxFTP::FileExists(...)
if ( FileExists(fileName) ) if ( FileExists(fileName) )
{ {
wxString command; wxString command;
@@ -937,7 +937,7 @@ int wxFTP::GetFileSize(const wxString& fileName)
} }
// Set transfermode back to the original. Only the "SIZE"-command // Set transfermode back to the original. Only the "SIZE"-command
// is dependant on transfermode // is dependent on transfermode
if ( oldTransfermode != NONE ) if ( oldTransfermode != NONE )
{ {
SetTransferMode(oldTransfermode); SetTransferMode(oldTransfermode);

View File

@@ -354,7 +354,7 @@ wxGIFDecoder::dgif(wxInputStream& stream, GIFImage *img, int interl, int bits)
ab_clr = (1 << bits); ab_clr = (1 << bits);
ab_fin = (1 << bits) + 1; ab_fin = (1 << bits) + 1;
// these will change through the decompression proccess // these will change through the decompression process
ab_bits = bits + 1; ab_bits = bits + 1;
ab_free = (1 << bits) + 2; ab_free = (1 << bits) + 2;
ab_max = (1 << ab_bits) - 1; ab_max = (1 << ab_bits) - 1;

View File

@@ -82,7 +82,7 @@ bool wxPickerBase::CreateBase(wxWindow *parent,
return false; 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 // 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 // the m_picker; for very long strings, this real-time synchronization could
// become a CPU-blocker and thus should be avoided. // become a CPU-blocker and thus should be avoided.

View File

@@ -486,7 +486,7 @@ void wxSizerItem::SetDimension( const wxPoint& pos_, const wxSize& size_ )
// have changed alignment or some other property which would // have changed alignment or some other property which would
// not change the size of the window. In such a case, no // not change the size of the window. In such a case, no
// wxSizeEvent would normally be generated and thus the // 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 #if 1
m_window->SetSize(pos.x, pos.y, size.x, size.y, m_window->SetSize(pos.x, pos.y, size.x, size.y,
wxSIZE_ALLOW_MINUS_ONE|wxSIZE_FORCE_EVENT ); wxSIZE_ALLOW_MINUS_ONE|wxSIZE_FORCE_EVENT );

View File

@@ -955,7 +955,7 @@ wxFileOffset wxInputStream::SeekI(wxFileOffset pos, wxSeekMode mode)
wxASSERT(bytes_read == (size_t)pos); 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(); return TellI();
} }