Fix spelling and punctuation errors in comments and documentation
Fix several occurrences of misspelling "trivial" as "trival"; use "from" rather than "than"; add missing articles and commas. Closes https://github.com/wxWidgets/wxWidgets/pull/874
This commit is contained in:
committed by
Vadim Zeitlin
parent
de1322a02d
commit
e1a7f56040
@@ -670,9 +670,9 @@ public:
|
||||
This macro declares a new object array class named @a name and containing
|
||||
the elements of type @e T.
|
||||
|
||||
An exported array is used when compiling wxWidgets as a DLL under Windows
|
||||
and the array needs to be visible outside the DLL. An user exported array
|
||||
needed for exporting an array from a user DLL.
|
||||
An exported array is used when compiling wxWidgets as a DLL under Windows,
|
||||
and the array needs to be visible outside the DLL. A user-exported array
|
||||
is needed for exporting an array from a user DLL.
|
||||
|
||||
Example:
|
||||
|
||||
@@ -681,8 +681,8 @@ public:
|
||||
WX_DECLARE_OBJARRAY(MyClass, wxArrayOfMyClass); // note: not "MyClass *"!
|
||||
@endcode
|
||||
|
||||
You must use WX_DEFINE_OBJARRAY() macro to define the array class,
|
||||
otherwise you would get link errors.
|
||||
You must use the WX_DEFINE_OBJARRAY() macro to define the array class;
|
||||
otherwise, you will get link errors.
|
||||
*/
|
||||
#define WX_DECLARE_OBJARRAY(T, name)
|
||||
#define WX_DECLARE_EXPORTED_OBJARRAY(T, name)
|
||||
@@ -695,8 +695,8 @@ public:
|
||||
elements of type @a T.
|
||||
|
||||
An exported array is used when compiling wxWidgets as a DLL under Windows
|
||||
and the array needs to be visible outside the DLL. An user exported array
|
||||
needed for exporting an array from a user DLL.
|
||||
and the array needs to be visible outside the DLL. A user-exported array
|
||||
is needed for exporting an array from a user DLL.
|
||||
|
||||
Example:
|
||||
|
||||
@@ -728,8 +728,8 @@ public:
|
||||
destructor will not be called.
|
||||
|
||||
An exported array is used when compiling wxWidgets as a DLL under Windows
|
||||
and the array needs to be visible outside the DLL. An user exported array
|
||||
needed for exporting an array from a user DLL.
|
||||
and the array needs to be visible outside the DLL. A user-exported array
|
||||
is needed for exporting an array from a user DLL.
|
||||
|
||||
Example of usage:
|
||||
|
||||
@@ -760,8 +760,8 @@ public:
|
||||
the elements of type @e T.
|
||||
|
||||
An exported array is used when compiling wxWidgets as a DLL under Windows
|
||||
and the array needs to be visible outside the DLL. An user exported array
|
||||
needed for exporting an array from a user DLL.
|
||||
and the array needs to be visible outside the DLL. A user-exported array
|
||||
is needed for exporting an array from a user DLL.
|
||||
|
||||
Example:
|
||||
|
||||
|
Reference in New Issue
Block a user