From 84c09ae7b2de0ad9142551ebd4f53a7e113902b4 Mon Sep 17 00:00:00 2001 From: Greg Ercolano Date: Fri, 26 Nov 2021 13:13:58 -0800 Subject: Fixes #297 - improvements for icon.cxx + icon() docs --- src/Fl_Window.cxx | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') diff --git a/src/Fl_Window.cxx b/src/Fl_Window.cxx index 26e259b5d..0ca39a5ff 100644 --- a/src/Fl_Window.cxx +++ b/src/Fl_Window.cxx @@ -333,6 +333,9 @@ void Fl_Window::default_icons(const Fl_RGB_Image *icons[], int count) { default window icon (see links below) or the system default icon will be used. + This method makes an internal copy of the \p icon pixel buffer, + so once set, the Fl_RGB_Image instance can be freed by the caller. + \param[in] icon icon for this window, NULL to reset window icon. \see Fl_Window::default_icon(const Fl_RGB_Image *) -- cgit v1.2.3