From f5fcee0157874247a4afec3aafbbf53c65c795ce Mon Sep 17 00:00:00 2001 From: Augustin Cavalier Date: Fri, 26 Aug 2022 21:25:23 -0400 Subject: [PATCH] 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. --- docs/user/interface/Alert.dox | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/user/interface/Alert.dox b/docs/user/interface/Alert.dox index 387aa911ac..a52e812738 100644 --- a/docs/user/interface/Alert.dox +++ b/docs/user/interface/Alert.dox @@ -343,9 +343,9 @@ int32 button_index = alert->Go(); \fn void BAlert::SetIcon(BBitmap *bitmap) \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 */