From: Vadim Zeitlin Date: Fri, 20 Jul 2012 11:55:18 +0000 (+0000) Subject: No changes, just fix some typos in comments. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/1582a1db62cf60d2a9b74b31e6778d46245a0f74 No changes, just fix some typos in comments. Closes #14494. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72163 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/buffer.h b/include/wx/buffer.h index ec0e1fc765..6d98f6e286 100644 --- a/include/wx/buffer.h +++ b/include/wx/buffer.h @@ -438,7 +438,7 @@ public: friend class wxMemoryBuffer; - // everyting is private as it can only be used by wxMemoryBuffer + // everything is private as it can only be used by wxMemoryBuffer private: wxMemoryBufferData(size_t size = wxMemoryBufferData::DefBufSize) : m_data(size ? malloc(size) : NULL), m_size(size), m_len(0), m_ref(0) diff --git a/include/wx/confbase.h b/include/wx/confbase.h index 481723857e..4243b2fe03 100644 --- a/include/wx/confbase.h +++ b/include/wx/confbase.h @@ -73,7 +73,7 @@ enum // abstract base class wxConfigBase which defines the interface for derived // classes // -// wxConfig organizes the items in a tree-like structure (modeled after the +// wxConfig organizes the items in a tree-like structure (modelled after the // Unix/Dos filesystem). There are groups (directories) and keys (files). // There is always one current group given by the current path. // diff --git a/include/wx/dataview.h b/include/wx/dataview.h index 7b86dea69f..f393e0384f 100644 --- a/include/wx/dataview.h +++ b/include/wx/dataview.h @@ -229,7 +229,7 @@ public: return true; } - // define hierachy + // define hierarchy virtual wxDataViewItem GetParent( const wxDataViewItem &item ) const = 0; virtual bool IsContainer( const wxDataViewItem &item ) const = 0; // Is the container just a header or an item with all columns diff --git a/include/wx/datetime.h b/include/wx/datetime.h index cc1e6d791a..3420179e5a 100644 --- a/include/wx/datetime.h +++ b/include/wx/datetime.h @@ -408,7 +408,7 @@ public: // helper classes // ------------------------------------------------------------------------ - // a class representing a time zone: basicly, this is just an offset + // a class representing a time zone: basically, this is just an offset // (in seconds) from GMT class WXDLLIMPEXP_BASE TimeZone { @@ -693,7 +693,7 @@ public: // default assignment operator is ok // calendar calculations (functions which set the date only leave the time - // unchanged, e.g. don't explictly zero it): SetXXX() functions modify the + // unchanged, e.g. don't explicitly zero it): SetXXX() functions modify the // object itself, GetXXX() ones return a new object. // ------------------------------------------------------------------------ diff --git a/include/wx/sizer.h b/include/wx/sizer.h index ab296ad069..0e1b968481 100644 --- a/include/wx/sizer.h +++ b/include/wx/sizer.h @@ -601,7 +601,7 @@ public: virtual void DeleteWindows(); // Inform sizer about the first direction that has been decided (by parent item) - // Returns true if it made use of the informtion (and recalculated min size) + // Returns true if it made use of the information (and recalculated min size) virtual bool InformFirstDirection( int WXUNUSED(direction), int WXUNUSED(size), int WXUNUSED(availableOtherDir) ) { return false; } diff --git a/include/wx/textctrl.h b/include/wx/textctrl.h index bf611d72ab..d4780cc987 100644 --- a/include/wx/textctrl.h +++ b/include/wx/textctrl.h @@ -821,7 +821,7 @@ public: m_start(event.m_start), m_end(event.m_end) { } - // get the mouse event which happend over the URL + // get the mouse event which happened over the URL const wxMouseEvent& GetMouseEvent() const { return m_evtMouse; } // get the start of the URL