Fix comment typos in sources

No real changes.

Closes https://github.com/wxWidgets/wxWidgets/pull/2541
This commit is contained in:
Blake Madden
2021-10-02 14:46:08 -04:00
committed by Vadim Zeitlin
parent cfdd4127b5
commit 668a2186cd
99 changed files with 133 additions and 133 deletions

View File

@@ -445,7 +445,7 @@ private:
// under Windows if needed.
//
// The first (just EXPORTED) macros do it if wxWidgets was compiled as a DLL
// and so must be used used inside the library. The second kind (USER_EXPORTED)
// and so must be used inside the library. The second kind (USER_EXPORTED)
// allow the user code to do it when it wants. This is needed if you have a dll
// that wants to export a wxArray daubed with your own import/export goo.
//
@@ -615,7 +615,7 @@ private:
// 2) Detach() just removes the object from the array (returning pointer to it)
//
// NB1: Base type T should have an accessible copy ctor if Add(T&) is used
// NB2: Never ever cast a array to it's base type: as dtor is not virtual
// NB2: Never ever cast an array to it's base type: as dtor is not virtual
// and so you risk having at least the memory leaks and probably worse
//
// Some functions of this class are not inline, so it takes some space to
@@ -631,7 +631,7 @@ private:
// This is necessary because at the moment of DEFINE_OBJARRAY class parsing the
// element_type must be fully defined (i.e. forward declaration is not
// enough), while WX_DECLARE_OBJARRAY may be done anywhere. The separation of
// two allows to break cicrcular dependencies with classes which have member
// two allows to break circcular dependencies with classes which have member
// variables of objarray type.
// ----------------------------------------------------------------------------