X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/cee875e32996e5c5eb8b788cfe84e2bf2a078f53..968a7de2c5da97f4fba0ca29957f75a0bba92ae2:/interface/wx/iconbndl.h diff --git a/interface/wx/iconbndl.h b/interface/wx/iconbndl.h index aecfe287f5..e242d695c4 100644 --- a/interface/wx/iconbndl.h +++ b/interface/wx/iconbndl.h @@ -3,7 +3,7 @@ // Purpose: interface of wxIconBundle // Author: wxWidgets team // RCS-ID: $Id$ -// Licence: wxWindows license +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// /** @@ -34,6 +34,10 @@ public: /** Initializes the bundle with the icon(s) found in the stream. + Notice that the @a stream must be seekable, at least if it contains + more than one icon. The stream pointer is positioned after the last + icon read from the stream when this function returns. + @since 2.9.0 */ wxIconBundle(wxInputStream& stream, wxBitmapType type = wxBITMAP_TYPE_ANY); @@ -65,6 +69,10 @@ public: collection already contains icons with the same width and height, they are replaced by the new ones. + Notice that, as well as in the constructor loading the icon bundle from + stream, the @a stream must be seekable, at least if more than one icon + is to be loaded from it. + @since 2.9.0 */ void AddIcon(wxInputStream& stream, wxBitmapType type = wxBITMAP_TYPE_ANY);