BAlert documentation: Clarify that SetIcon assumes ownership.

It always did, this documentation was incorrect.
Also, we introduced this method, it wasn't present on R5.
This commit is contained in:
Augustin Cavalier 2022-08-26 21:25:23 -04:00
parent f583d90436
commit f5fcee0157

View File

@ -343,9 +343,9 @@ int32 button_index = alert->Go();
\fn void BAlert::SetIcon(BBitmap *bitmap) \fn void BAlert::SetIcon(BBitmap *bitmap)
\brief Set a custom icon for the alert. \brief Set a custom icon for the alert.
\param bitmap A valid BBitmap. The bitmap is copied. \param bitmap A valid BBitmap. The BAlert assumes ownership of the bitmap.
\since BeOS R3 \since Haiku R1
*/ */