diff options
author | Dan Gudmundsson <dgud@erlang.org> | 2021-08-24 15:46:09 +0200 |
---|---|---|
committer | Dan Gudmundsson <dgud@erlang.org> | 2021-08-24 15:46:09 +0200 |
commit | 21f4c0de8aeda8354a7a4bb0e6521394ed2c8044 (patch) | |
tree | 444b2b5fd5e8ad938455c9571cc9ad11045564a0 /lib/wx/doc | |
parent | 9246e531029909c10e19268d748b095e60107e92 (diff) | |
download | erlang-21f4c0de8aeda8354a7a4bb0e6521394ed2c8044.tar.gz |
wx: Check wxColour type harder
Can't check that argument is a tuple of size 4 is a color,
since it could also be an object_ref and make the clause match
stuff the shouldn't be matched.
Also make color to have a seperate type footprint to discover those
cases.
Diffstat (limited to 'lib/wx/doc')
-rw-r--r-- | lib/wx/doc/src/wxImageList.xml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/wx/doc/src/wxImageList.xml b/lib/wx/doc/src/wxImageList.xml index 31b4f3e3c2..d0dbf3d911 100644 --- a/lib/wx/doc/src/wxImageList.xml +++ b/lib/wx/doc/src/wxImageList.xml @@ -57,8 +57,8 @@ <name name="add" arity="3" clause_i="1" since=""/> <name name="add" arity="3" clause_i="2" since=""/> - <fsummary>Adds a new image or images using a bitmap and optional mask bitmap. </fsummary> - <desc><p>Adds a new image or images using a bitmap and optional mask bitmap. + <fsummary>Adds a new image or images using a bitmap and mask colour. </fsummary> + <desc><p>Adds a new image or images using a bitmap and mask colour. </p><p>Return: The new zero-based image index. </p><p>Remark: The original bitmap or icon is not affected by the <seemfa marker="#add/3"><c>add/3</c></seemfa> operation, and can be deleted afterwards. If the bitmap is wider than the images in the list, then the bitmap will automatically be split into smaller images, each matching the dimensions of the image list. This does not apply when adding icons. </p></desc> |