summaryrefslogtreecommitdiff
path: root/src/Fl_Window.cxx
diff options
context:
space:
mode:
authorGreg Ercolano <erco@seriss.com>2021-11-26 13:13:58 -0800
committerGreg Ercolano <erco@seriss.com>2021-11-26 13:13:58 -0800
commit84c09ae7b2de0ad9142551ebd4f53a7e113902b4 (patch)
tree74a14d008fbcee47c54035aa7acec2ebefd38ab1 /src/Fl_Window.cxx
parent6fc5c16e1c08d61e34cb4b145663afbbab152e41 (diff)
Fixes #297 - improvements for icon.cxx + icon() docs
Diffstat (limited to 'src/Fl_Window.cxx')
-rw-r--r--src/Fl_Window.cxx3
1 files changed, 3 insertions, 0 deletions
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 *)