summaryrefslogtreecommitdiff
path: root/src/Fl_Window.cxx
diff options
context:
space:
mode:
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 *)