X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/cee875e32996e5c5eb8b788cfe84e2bf2a078f53..178c77606f3186250b42685ca752d0bc34cd02e9:/interface/wx/iconbndl.h diff --git a/interface/wx/iconbndl.h b/interface/wx/iconbndl.h index aecfe287f5..49609c12f7 100644 --- a/interface/wx/iconbndl.h +++ b/interface/wx/iconbndl.h @@ -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);