diff options
| author | Greg Ercolano <erco@seriss.com> | 2021-11-26 13:13:58 -0800 |
|---|---|---|
| committer | Greg Ercolano <erco@seriss.com> | 2021-11-26 13:13:58 -0800 |
| commit | 84c09ae7b2de0ad9142551ebd4f53a7e113902b4 (patch) | |
| tree | 74a14d008fbcee47c54035aa7acec2ebefd38ab1 /src | |
| parent | 6fc5c16e1c08d61e34cb4b145663afbbab152e41 (diff) | |
Fixes #297 - improvements for icon.cxx + icon() docs
Diffstat (limited to 'src')
| -rw-r--r-- | src/Fl_Window.cxx | 3 |
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 *) |
