+
+ @return The new zero-based image index.
+
+ @remarks The original bitmap or icon is not affected by the Add()
+ 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.
+ */
+ int Add(const wxBitmap& bitmap,
+ const wxBitmap& mask = wxNullBitmap);
+
+ /**
+ Adds a new image or images using a bitmap and mask colour.
+
+ @param bitmap
+ Bitmap representing the opaque areas of the image.